Permalink
Browse files

Restore pet -> owner relationship to the previous state

  • Loading branch information...
1 parent 6177a0b commit f1b33f7f22b7cddb7a80afbfa134a62600391b22 @spastorino spastorino committed Aug 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 f1b33f7

Please sign in to comment.