Browse files

Restore pet -> owner relationship to the previous state

  • Loading branch information...
1 parent fc43c62 commit 6f478b06989ee10b63c9581b266b60bb946afd4f @spastorino spastorino committed Aug 16, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/timestamp_test.rb
View
2 activerecord/test/cases/timestamp_test.rb
@@ -97,7 +97,7 @@ def test_touching_a_record_with_a_belongs_to_that_uses_a_counter_cache_should_up
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

0 comments on commit 6f478b0

Please sign in to comment.