diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-04-24 15:01:13 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-04-24 15:07:39 +0100 |
commit | 07e489c9a2b1a4c359a8fc494c2e7b4af17a0e37 (patch) | |
tree | 804170c75404ee523c7c265debe1d4578add9360 /activerecord/test | |
parent | 2d211c459d8274f13f7a0f84d48c3d61bff49aee (diff) | |
download | rails-07e489c9a2b1a4c359a8fc494c2e7b4af17a0e37.tar.gz rails-07e489c9a2b1a4c359a8fc494c2e7b4af17a0e37.tar.bz2 rails-07e489c9a2b1a4c359a8fc494c2e7b4af17a0e37.zip |
Removed unused associations
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/timestamp_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |