1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Float comparison adjustment

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Santiago Pastorino 2010-07-18 14:19:34 -03:00 committed by José Valim
parent 0fce4ae57f
commit 3870366092

View file

@ -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