diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-13 19:28:59 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-13 19:28:59 -0800 |
commit | 66fda6b8949cde07966ab098125e1da7969e9468 (patch) | |
tree | 2e2d72fa8d13207fd4e4436b8960e9332a5a7153 /activesupport/test | |
parent | 7ab78b9ccd1f760960a77b5be9aac0c27212abe2 (diff) | |
download | rails-66fda6b8949cde07966ab098125e1da7969e9468.tar.gz rails-66fda6b8949cde07966ab098125e1da7969e9468.tar.bz2 rails-66fda6b8949cde07966ab098125e1da7969e9468.zip |
Fix duration check for longer sleep
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/notifications_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/notifications_test.rb b/activesupport/test/notifications_test.rb index 334496374b..466af49931 100644 --- a/activesupport/test/notifications_test.rb +++ b/activesupport/test/notifications_test.rb @@ -100,7 +100,7 @@ class NotificationsMainTest < Test::Unit::TestCase 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 |