Skip to content
Browse files

use ruby 1.8 Hash syntax [ci skip]

  • Loading branch information...
1 parent ae2baab commit 845cc5c78d409a9cad589be09dda100f96544610 @senny senny committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/eager_test.rb
View
2 activerecord/test/cases/associations/eager_test.rb
@@ -1120,7 +1120,7 @@ def test_join_eager_with_nil_order_should_generate_valid_sql
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
}

0 comments on commit 845cc5c

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