move reload after touch

This commit is contained in:
Brian Lopez
2010-08-02 15:10:34 -07:00
parent ab64499911
commit 42035fd112

View File

@@ -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