aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/timestamp_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/timestamp_test.rb')
-rw-r--r--activerecord/test/cases/timestamp_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/timestamp_test.rb b/activerecord/test/cases/timestamp_test.rb
index 06ab7aa9c7..401439994d 100644
--- a/activerecord/test/cases/timestamp_test.rb
+++ b/activerecord/test/cases/timestamp_test.rb
@@ -94,6 +94,7 @@ class TimestampTest < ActiveRecord::TestCase
owner.update_attribute(:updated_at, (time = 3.days.ago))
toy.touch
+ owner.reload
assert_not_equal time, owner.updated_at
ensure