aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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..a57b3dfba1 100644
--- a/activerecord/test/cases/timestamp_test.rb
+++ b/activerecord/test/cases/timestamp_test.rb
@@ -93,6 +93,7 @@ class TimestampTest < ActiveRecord::TestCase
owner = pet.owner
owner.update_attribute(:updated_at, (time = 3.days.ago))
+ owner.reload
toy.touch
assert_not_equal time, owner.updated_at