aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_associations_test.rb
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2013-05-24 11:20:20 +0200
committerArun Agrawal <arunagw@gmail.com>2013-05-24 11:20:20 +0200
commitb75c8e58ab2ea055324c6f95127b5b940e758d57 (patch)
treefa6a485a4f6c0144728f27653365e53fdb83d903 /activerecord/test/cases/associations/has_many_associations_test.rb
parentd29399061e54092fdbf57780c38e19dd1921f45d (diff)
downloadrails-b75c8e58ab2ea055324c6f95127b5b940e758d57.tar.gz
rails-b75c8e58ab2ea055324c6f95127b5b940e758d57.tar.bz2
rails-b75c8e58ab2ea055324c6f95127b5b940e758d57.zip
Using 1.8.7 syntax for 3-2-stable
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