Skip to content

Commit

Permalink
Float comparison adjustment
Browse files Browse the repository at this point in the history
Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
spastorino authored and josevalim committed Jul 18, 2010
1 parent 0fce4ae commit 3870366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/notifications_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 3870366

Please sign in to comment.