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 6177a0be96
commit f1b33f7f22
1 changed files with 1 additions and 1 deletions

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