diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2016-07-26 11:43:47 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 11:43:47 -0300 |
commit | c4b33a779680ee8f38d510789dfe1b3749a47734 (patch) | |
tree | 1ac253a7c6c6c6170aff1f32eafe53d1901f38cb /activerecord/test/cases/associations_test.rb | |
parent | c59715fa256b940f7bce912c5b4b2584fac05154 (diff) | |
parent | beb6b7add71cc97d907958e4d7a1b5b8e9134cac (diff) | |
download | rails-c4b33a779680ee8f38d510789dfe1b3749a47734.tar.gz rails-c4b33a779680ee8f38d510789dfe1b3749a47734.tar.bz2 rails-c4b33a779680ee8f38d510789dfe1b3749a47734.zip |
Merge pull request #25929 from kamipo/load_target_is_public_method
`load_target` is a public method
Diffstat (limited to 'activerecord/test/cases/associations_test.rb')
-rw-r--r-- | activerecord/test/cases/associations_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations_test.rb b/activerecord/test/cases/associations_test.rb index 01a058918a..5fb7f191ed 100644 --- a/activerecord/test/cases/associations_test.rb +++ b/activerecord/test/cases/associations_test.rb @@ -45,7 +45,6 @@ class AssociationsTest < ActiveRecord::TestCase ship = Ship.create!(:name => "The good ship Dollypop") part = ship.parts.create!(:name => "Mast") part.mark_for_destruction - ship.parts.send(:load_target) assert ship.parts[0].marked_for_destruction? end @@ -54,7 +53,6 @@ class AssociationsTest < ActiveRecord::TestCase part = ship.parts.create!(:name => "Mast") part.mark_for_destruction ShipPart.find(part.id).update_columns(name: 'Deck') - ship.parts.send(:load_target) assert_equal 'Deck', ship.parts[0].name end |