mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
move reload after touch
This commit is contained in:
@@ -93,8 +93,8 @@ class TimestampTest < ActiveRecord::TestCase
|
||||
owner = pet.owner
|
||||
|
||||
owner.update_attribute(:updated_at, (time = 3.days.ago))
|
||||
owner.reload
|
||||
toy.touch
|
||||
owner.reload
|
||||
|
||||
assert_not_equal time, owner.updated_at
|
||||
ensure
|
||||
|
||||
Reference in New Issue
Block a user