From 07e489c9a2b1a4c359a8fc494c2e7b4af17a0e37 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Wed, 24 Apr 2013 15:01:13 +0100 Subject: Removed unused associations --- activerecord/test/cases/timestamp_test.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activerecord/test') diff --git a/activerecord/test/cases/timestamp_test.rb b/activerecord/test/cases/timestamp_test.rb index 1ecea9d9cb..ff1b01556d 100644 --- a/activerecord/test/cases/timestamp_test.rb +++ b/activerecord/test/cases/timestamp_test.rb @@ -179,7 +179,6 @@ class TimestampTest < ActiveRecord::TestCase def test_touching_a_record_touches_polymorphic_record klass = Class.new(ActiveRecord::Base) do def self.name; 'Toy'; end - belongs_to :pet, :touch => true end wheel_klass = Class.new(ActiveRecord::Base) do @@ -228,7 +227,6 @@ class TimestampTest < ActiveRecord::TestCase def test_changing_parent_of_a_record_touches_both_new_and_old_polymorphic_parent_record klass = Class.new(ActiveRecord::Base) do def self.name; 'Toy'; end - belongs_to :pet, touch: true end wheel_klass = Class.new(ActiveRecord::Base) do -- cgit v1.2.3