Permalink
Browse files

Fix duration check for longer sleep

  • Loading branch information...
1 parent 7ab78b9 commit 66fda6b8949cde07966ab098125e1da7969e9468 @jeremy jeremy committed Nov 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/notifications_test.rb
@@ -100,7 +100,7 @@ def test_nested_events_can_be_instrumented
assert_equal 2, @events.size
assert_equal :awesome, @events.last.name
assert_equal Hash[:payload => "notifications"], @events.last.payload
- assert_in_delta 100, @events.last.duration, 70
+ assert_in_delta 1000, @events.last.duration, 70
end
def test_event_is_pushed_even_if_block_fails

0 comments on commit 66fda6b

Please sign in to comment.