From 2b5b08b884853b9ec87252d079c7bc81a46931ec Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Mon, 8 Oct 2018 00:00:34 +0900 Subject: Fix test name to add missing "set" --- activerecord/test/cases/associations/has_many_associations_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/cases') 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) -- cgit v1.2.3