diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/associations/has_many_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb index 45e2aadaf4..39b3747fd7 100644 --- a/activerecord/test/cases/associations/has_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_associations_test.rb @@ -2362,7 +2362,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase assert_equal [firm.id, nil], accounts.map(&:firm_id) end - def test_association_with_rewhere_doesnt_inverse_instance_key + def test_association_with_rewhere_doesnt_set_inverse_instance_key firm = companies(:first_firm) accounts = firm.accounts.rewhere(firm_id: [firm.id, nil]).order(:id) assert_equal [firm.id, nil], accounts.map(&:firm_id) |