diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-16 22:45:27 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-16 22:46:55 -0300 |
commit | f1b33f7f22b7cddb7a80afbfa134a62600391b22 (patch) | |
tree | ef0a35289b75441adb4572253a4fbeb9bf0c27c8 /activerecord | |
parent | 6177a0be96cebac129d0e20d2b5ec009a00fa56c (diff) | |
download | rails-f1b33f7f22b7cddb7a80afbfa134a62600391b22.tar.gz rails-f1b33f7f22b7cddb7a80afbfa134a62600391b22.tar.bz2 rails-f1b33f7f22b7cddb7a80afbfa134a62600391b22.zip |
Restore pet -> owner relationship to the previous state
[#5365]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/timestamp_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/timestamp_test.rb b/activerecord/test/cases/timestamp_test.rb index f5f116f3e6..fce27d8972 100644 --- a/activerecord/test/cases/timestamp_test.rb +++ b/activerecord/test/cases/timestamp_test.rb @@ -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 |