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/test/controller | |
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/test/controller')
-rw-r--r-- | actionpack/test/controller/live_stream_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/test/controller/live_stream_test.rb b/actionpack/test/controller/live_stream_test.rb index a7759c080b..5977124594 100644 --- a/actionpack/test/controller/live_stream_test.rb +++ b/actionpack/test/controller/live_stream_test.rb @@ -246,7 +246,8 @@ module ActionController def assert_stream_closed assert response.stream.closed?, 'stream should be closed' - assert response.sent?, 'stream should be sent' + assert response.committed?, 'response should be committed' + assert response.sent?, 'response should be sent' end def capture_log_output |