aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-05-24 03:35:20 -0700
committerAndrew White <andyw@pixeltrix.co.uk>2013-05-24 03:35:20 -0700
commit7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6 (patch)
treedf7bb42f0850895d0aea3a4ad1de237d970a84f1 /activerecord/test/cases/associations/has_many_associations_test.rb
parentd29399061e54092fdbf57780c38e19dd1921f45d (diff)
parent0e14973a3368945d9a7fddb4bfeefe3fc2f2a246 (diff)
downloadrails-7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6.tar.gz
rails-7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6.tar.bz2
rails-7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6.zip
Merge pull request #10745 from arunagw/build_fix_ruby187
Build fix ruby187
Diffstat (limited to 'activerecord/test/cases/associations/has_many_associations_test.rb')
-rw-r--r--activerecord/test/cases/associations/has_many_associations_test.rb2
1 files changed, 1 insertions, 1 deletions
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