Permalink
Browse files

make sure we wait for the threads to shut down before asserting closure

  • Loading branch information...
1 parent b0767af commit 401787db4bc428dce88b04e343a64c6a6c3b681c @tenderlove tenderlove committed Mar 1, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/controller/live_stream_test.rb
@@ -180,6 +180,7 @@ def exception_in_exception_callback
tests TestController
def assert_stream_closed
+ response.stream.await_close
assert response.stream.closed?, 'stream should be closed'
end

0 comments on commit 401787d

Please sign in to comment.