mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c4d85dfbc7
There are some cases when the `body` in `response_body=` can be set to nil. One of those cases is in `actionpack-action_caching` which I found while upgrading it for Rails 5. It's not possible to run `body.each` on a `nil` body so we have to return after we run `response.reset_body!`. |
||
---|---|---|
.. | ||
bare_metal_test.rb | ||
base_test.rb | ||
content_negotiation_test.rb | ||
content_type_test.rb | ||
middleware_test.rb | ||
render_action_test.rb | ||
render_body_test.rb | ||
render_context_test.rb | ||
render_file_test.rb | ||
render_html_test.rb | ||
render_implicit_action_test.rb | ||
render_layout_test.rb | ||
render_partial_test.rb | ||
render_plain_test.rb | ||
render_streaming_test.rb | ||
render_template_test.rb | ||
render_test.rb | ||
render_text_test.rb | ||
render_xml_test.rb |