Mat Schaffer
2006-Jul-21 13:39 UTC
[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_content at http://dev.rubyonrails.org/browser/trunk/actionpack/lib/ action_controller/test_process.rb#L264. _______________________________________________ Rails-core mailing list Rails-core@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-core