aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-07-18 14:19:34 -0300
committerJosé Valim <jose.valim@gmail.com>2010-07-18 19:28:46 +0200
commit387036609268c4cf68401a1333715f2ee4aecffc (patch)
treef12ea71da977805bd9691db1eb6ecd65c5eb5005 /activesupport
parent0fce4ae57fa356e9eca7059a4ff6a67e68c37961 (diff)
downloadrails-387036609268c4cf68401a1333715f2ee4aecffc.tar.gz
rails-387036609268c4cf68401a1333715f2ee4aecffc.tar.bz2
rails-387036609268c4cf68401a1333715f2ee4aecffc.zip
Float comparison adjustment
Signed-off-by: José Valim <jose.valim@gmail.com>
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 3e16e01d89..73c85be87c 100644
--- a/activesupport/test/notifications_test.rb
+++ b/activesupport/test/notifications_test.rb
@@ -200,7 +200,7 @@ module Notifications
assert_equal :foo, event.name
assert_equal time, event.time
- assert_in_delta 10.0, event.duration, 0.00000000000001
+ assert_in_delta 10.0, event.duration, 0.00001
end
def test_events_consumes_information_given_as_payload