Permalink
Browse files

Float comparison adjustment

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 0fce4ae commit 387036609268c4cf68401a1333715f2ee4aecffc @spastorino spastorino committed with josevalim Jul 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/notifications_test.rb
@@ -200,7 +200,7 @@ def test_events_are_initialized_with_details
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

0 comments on commit 3870366

Please sign in to comment.