diff --git a/test/timecop_with_active_support_test.rb b/test/timecop_with_active_support_test.rb index 9b672f97..dc82afb8 100644 --- a/test/timecop_with_active_support_test.rb +++ b/test/timecop_with_active_support_test.rb @@ -13,6 +13,6 @@ def test_travel_does_not_reduce_precision_of_time Timecop.travel(1) long_ago = Time.now sleep(0.000001) - assert_not_equal long_ago.to_f, Time.now.to_f + assert_not_equal long_ago.nsec, Time.now.nsec end end