aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/mixin_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/mixin_test.rb b/activerecord/test/cases/mixin_test.rb
index ffd1812212..f927c13979 100644
--- a/activerecord/test/cases/mixin_test.rb
+++ b/activerecord/test/cases/mixin_test.rb
@@ -69,6 +69,7 @@ class TouchTest < ActiveRecord::TestCase
old_updated_at = stamped.updated_at
Time.forced_now_time = 5.minutes.from_now
+ stamped.lft_will_change!
stamped.save
assert_equal Time.now, stamped.updated_at