(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.

Attachment: binary_content_fix.diff
Description: Binary data

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to