mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Removed unused associations
This commit is contained in:
parent
2d211c459d
commit
07e489c9a2
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue