Skip to content
This repository
Browse code

use ruby 1.8 Hash syntax [ci skip]

  • Loading branch information...
commit 845cc5c78d409a9cad589be09dda100f96544610 1 parent ae2baab
Yves Senn senny authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  activerecord/test/cases/associations/eager_test.rb
2  activerecord/test/cases/associations/eager_test.rb
@@ -1120,7 +1120,7 @@ def test_join_eager_with_nil_order_should_generate_valid_sql
1120 1120 end
1121 1121
1122 1122 test "preloading a through association twice does not reset it" do
1123   - members = Member.includes(current_membership: :club).includes(:club).to_a
  1123 + members = Member.includes(:current_membership => :club).includes(:club).to_a
1124 1124 assert_no_queries {
1125 1125 assert_equal 3, members.map(&:current_membership).map(&:club).size
1126 1126 }

0 comments on commit 845cc5c

Please sign in to comment.
Something went wrong with that request. Please try again.