Restore pet -> owner relationship to the previous state

[#5365]
This commit is contained in:
Santiago Pastorino
2010-08-16 22:45:27 -03:00
parent fc43c62fc6
commit 6f478b0698

View File

@@ -97,7 +97,7 @@ class TimestampTest < ActiveRecord::TestCase
assert_not_equal previously_owner_updated_at, pet.owner.updated_at
ensure
Pet.belongs_to :owner, :counter_cache => :use_count, :touch => true
Pet.belongs_to :owner, :touch => true
end
def test_touching_a_record_touches_parent_record_and_grandparent_record