diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-07-15 17:44:49 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-07-15 17:44:49 -0300 |
commit | 66cba60103b042f5d233bfbeb413a495e960938c (patch) | |
tree | 4700fd37666e11d2a21a861d3df420b4a4d3095c | |
parent | 1c2545a45537661c3b1e896dd93b87377a65eb31 (diff) | |
download | rails-66cba60103b042f5d233bfbeb413a495e960938c.tar.gz rails-66cba60103b042f5d233bfbeb413a495e960938c.tar.bz2 rails-66cba60103b042f5d233bfbeb413a495e960938c.zip |
Use Ruby 1.8 syntax
-rw-r--r-- | activerecord/test/cases/autosave_association_test.rb | 2 |
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? |