1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/controller/new_base
eileencodes c4d85dfbc7 Handle response_body= when body is nil
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!`.
2016-01-30 09:42:59 -05:00
..
bare_metal_test.rb Handle response_body= when body is nil 2016-01-30 09:42:59 -05:00
base_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
content_negotiation_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
content_type_test.rb Use Mime[:foo] instead of Mime::Type[:FOO] for back compat 2015-10-06 11:29:30 -07:00
middleware_test.rb Fix another rack SPEC violation 2015-08-25 17:22:52 -07:00
render_action_test.rb
render_body_test.rb
render_context_test.rb
render_file_test.rb
render_html_test.rb Set the content-type to text/html if the options[:html] is true 2015-08-29 01:02:43 +09:00
render_implicit_action_test.rb
render_layout_test.rb
render_partial_test.rb
render_plain_test.rb provide a request and response to all controllers 2015-08-25 18:35:44 -07:00
render_streaming_test.rb
render_template_test.rb
render_test.rb Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
render_text_test.rb Delete needless require 'active_support/deprecation' 2015-10-20 20:02:59 +09:00
render_xml_test.rb