From b75c8e58ab2ea055324c6f95127b5b940e758d57 Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Fri, 24 May 2013 11:20:20 +0200 Subject: Using 1.8.7 syntax for 3-2-stable --- activerecord/test/cases/associations/has_many_associations_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test/cases/associations') diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb index 8fd9de07c9..a75d064ac0 100644 --- a/activerecord/test/cases/associations/has_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_associations_test.rb @@ -1496,7 +1496,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase david = people(:david) assert_equal ["A Modest Proposal"], david.essays.map(&:name) - david.essays = [Essay.create!(name: "Remote Work" )] + david.essays = [Essay.create!(:name => "Remote Work" )] assert_equal ["Remote Work"], david.essays.map(&:name) end -- cgit v1.2.3