diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-03-22 15:23:57 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-03-22 15:23:57 +0100 |
commit | 845cc5c78d409a9cad589be09dda100f96544610 (patch) | |
tree | 27f9d2d0023b711eb5050da165a967a328861a23 | |
parent | ae2baab1aa278c065dc742a3ffe65c65a7b87dc9 (diff) | |
download | rails-845cc5c78d409a9cad589be09dda100f96544610.tar.gz rails-845cc5c78d409a9cad589be09dda100f96544610.tar.bz2 rails-845cc5c78d409a9cad589be09dda100f96544610.zip |
use ruby 1.8 Hash syntax [ci skip]
-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 } |