Skip to content

Commit

Permalink
Removed unused associations
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeltrix committed Apr 24, 2013
1 parent 2d211c4 commit 07e489c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions activerecord/test/cases/timestamp_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ def self.name; 'Toy'; end
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
Expand Down Expand Up @@ -228,7 +227,6 @@ def self.name; 'Toy'; end
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
Expand Down

0 comments on commit 07e489c

Please sign in to comment.