Permalink
Browse files

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

  • Loading branch information...
1 parent 20416f1 commit f7cf45a3f00f0237389c0250666eeccb92e9d751 @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 f7cf45a

Please sign in to comment.