aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-03-31 03:57:25 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2008-03-31 03:57:25 +0000
commitdf0d56c1f6ceb9e8aa9662ec8e91b3f0e2b0946c (patch)
treee17e73e54cac811a0034d670b7e78fe55ef87d65 /activerecord
parent047db112991785d871e9a6ba165b93752b0fff06 (diff)
downloadrails-df0d56c1f6ceb9e8aa9662ec8e91b3f0e2b0946c.tar.gz
rails-df0d56c1f6ceb9e8aa9662ec8e91b3f0e2b0946c.tar.bz2
rails-df0d56c1f6ceb9e8aa9662ec8e91b3f0e2b0946c.zip
Force timestamp update
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-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