diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2016-05-06 14:22:05 -0500 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2016-05-06 14:22:05 -0500 |
commit | 21a3b180f11e49e1cd296aacba3bec8120dc7c2e (patch) | |
tree | 80053ca78b371d2f9647626c38d328dcb8a4f302 /actionpack/lib/action_controller/test_case.rb | |
parent | 40d5c3370f8e5e0d3d03a7a25a64fde5122a069e (diff) | |
parent | b43158afba7fb4de6a3530d4f4e940f0c89bd057 (diff) | |
download | rails-21a3b180f11e49e1cd296aacba3bec8120dc7c2e.tar.gz rails-21a3b180f11e49e1cd296aacba3bec8120dc7c2e.tar.bz2 rails-21a3b180f11e49e1cd296aacba3bec8120dc7c2e.zip |
Merge pull request #24029 from rthbound/dont-call-each-when-calling-body-on-response
Dont call each when calling body on response to fix #23964
Fixes #23964
Diffstat (limited to 'actionpack/lib/action_controller/test_case.rb')
-rw-r--r-- | actionpack/lib/action_controller/test_case.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index ecd21f29ce..ed2edcbe06 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -554,6 +554,8 @@ module ActionController end @request.query_string = '' + @response.sent! + @response end |