aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/finder_respond_to_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2014-08-17 12:52:54 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2014-08-17 12:52:54 -0700
commit9f6e82ee4783e491c20f5244a613fdeb4024beb5 (patch)
treec6a933f829e2df666aefeb3150681790f3490565 /activerecord/test/cases/finder_respond_to_test.rb
parent88d27ae9181151f448f39298adce9d1b7401a376 (diff)
downloadrails-9f6e82ee4783e491c20f5244a613fdeb4024beb5.tar.gz
rails-9f6e82ee4783e491c20f5244a613fdeb4024beb5.tar.bz2
rails-9f6e82ee4783e491c20f5244a613fdeb4024beb5.zip
Fix rounding errors with #travel_to by resetting the usec on any passed time to zero, so we only travel with per-second precision, not anything deeper than that.
Diffstat (limited to 'activerecord/test/cases/finder_respond_to_test.rb')
0 files changed, 0 insertions, 0 deletions