Displaying 1 result from an estimated 1 matches for "testresponsebehavior".
2006 Jul 21
0
[PATCH] TestResponseBehavior#binary_content calls block improperly
(In lieu of the broken bug-tracker)
TestResponseBehavior#binary_content calls the block generated by
send_file with no parameters. But the block created at http://
dev.rubyonrails.org/browser/trunk/actionpack/lib/action_controller/
streaming.rb#L68 expects a response and an output stream.
The following patch corrects the block.call in binary_conten...