Skip to content

Commit

Permalink
Fix duration check for longer sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Nov 14, 2009
1 parent 7ab78b9 commit 66fda6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/notifications_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 66fda6b

Please sign in to comment.