From 66cba60103b042f5d233bfbeb413a495e960938c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 15 Jul 2013 17:44:49 -0300 Subject: Use Ruby 1.8 syntax --- activerecord/test/cases/autosave_association_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- cgit v1.2.3