diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-10-08 00:00:34 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-10-08 00:00:34 +0900 |
commit | 2b5b08b884853b9ec87252d079c7bc81a46931ec (patch) | |
tree | e7543e8df8db31cd8b2f6308ab4ab7c1c20df0bc /activerecord | |
parent | 1f8534ca85c32ee26f0e179ac38acf7e61fb0e69 (diff) | |
download | rails-2b5b08b884853b9ec87252d079c7bc81a46931ec.tar.gz rails-2b5b08b884853b9ec87252d079c7bc81a46931ec.tar.bz2 rails-2b5b08b884853b9ec87252d079c7bc81a46931ec.zip |
Fix test name to add missing "set"
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) |