aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-08-16 22:45:27 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-08-16 22:46:55 -0300
commitf1b33f7f22b7cddb7a80afbfa134a62600391b22 (patch)
treeef0a35289b75441adb4572253a4fbeb9bf0c27c8 /activerecord
parent6177a0be96cebac129d0e20d2b5ec009a00fa56c (diff)
downloadrails-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.rb2
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