Skip to content
Browse files

fix failure test 'test_can_wait_until_commit(ResponseTest)' in action…

…pack
  • Loading branch information...
1 parent 0cda0b3 commit 8b6301adbc8ceba9b796cf1748aac973aebcee46 @rimidl rimidl committed Jul 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/test/dispatch/response_test.rb
View
4 actionpack/test/dispatch/response_test.rb
@@ -7,11 +7,11 @@ def setup
def test_can_wait_until_commit
t = Thread.new {
- assert @response.await_commit
+ @response.await_commit
}
@response.commit!
assert @response.committed?
- t.join
+ assert t.join(0.5)
end
def test_response_body_encoding

0 comments on commit 8b6301a

Please sign in to comment.
Something went wrong with that request. Please try again.