diff options
-rw-r--r-- | activerecord/test/cases/associations/eager_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/eager_test.rb b/activerecord/test/cases/associations/eager_test.rb index 490aafa86d..42061d3d73 100644 --- a/activerecord/test/cases/associations/eager_test.rb +++ b/activerecord/test/cases/associations/eager_test.rb @@ -1120,7 +1120,7 @@ class EagerAssociationTest < ActiveRecord::TestCase end test "preloading a through association twice does not reset it" do - members = Member.includes(current_membership: :club).includes(:club).to_a + members = Member.includes(:current_membership => :club).includes(:club).to_a assert_no_queries { assert_equal 3, members.map(&:current_membership).map(&:club).size } |