Force timestamp update
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
047db11299
commit
df0d56c1f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user