Permalink
Browse files

Force timestamp update

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 047db11 commit df0d56c1f6ceb9e8aa9662ec8e91b3f0e2b0946c @jeremy jeremy committed Mar 31, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/test/cases/mixin_test.rb
@@ -69,6 +69,7 @@ def test_many_updates
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

0 comments on commit df0d56c

Please sign in to comment.