aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-15 17:44:49 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-15 17:45:20 -0300
commit1900a56669ba1fc6776fe64534ff1f45104e343c (patch)
tree31c6d46b654799c7afd54efa90b2043453da06e9 /activerecord
parent2ae2728d78298030b1015497840b0519b5ed21a1 (diff)
downloadrails-1900a56669ba1fc6776fe64534ff1f45104e343c.tar.gz
rails-1900a56669ba1fc6776fe64534ff1f45104e343c.tar.bz2
rails-1900a56669ba1fc6776fe64534ff1f45104e343c.zip
Use Ruby 1.8 syntax
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/autosave_association_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/autosave_association_test.rb b/activerecord/test/cases/autosave_association_test.rb
index 5556ab8fcc..cb68f96412 100644
--- a/activerecord/test/cases/autosave_association_test.rb
+++ b/activerecord/test/cases/autosave_association_test.rb
@@ -735,7 +735,7 @@ class TestDestroyAsPartOfAutosaveAssociation < ActiveRecord::TestCase
end
def test_should_not_resave_destroyed_association
- @pirate.birds.create!(name: :parrot)
+ @pirate.birds.create!(:name => :parrot)
@pirate.birds.first.destroy
@pirate.save!
assert @pirate.reload.birds.empty?