aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-13 19:28:59 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-13 19:28:59 -0800
commit66fda6b8949cde07966ab098125e1da7969e9468 (patch)
tree2e2d72fa8d13207fd4e4436b8960e9332a5a7153 /activesupport
parent7ab78b9ccd1f760960a77b5be9aac0c27212abe2 (diff)
downloadrails-66fda6b8949cde07966ab098125e1da7969e9468.tar.gz
rails-66fda6b8949cde07966ab098125e1da7969e9468.tar.bz2
rails-66fda6b8949cde07966ab098125e1da7969e9468.zip
Fix duration check for longer sleep
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/notifications_test.rb2
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