Permalink
Browse files

Use Ruby 1.8 syntax

  • Loading branch information...
rafaelfranca committed Jul 15, 2013
1 parent 1c2545a commit 66cba60103b042f5d233bfbeb413a495e960938c
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/autosave_association_test.rb
@@ -735,7 +735,7 @@ def test_should_destroy_has_many_as_part_of_the_save_transaction_if_they_were_ma
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?

0 comments on commit 66cba60

Please sign in to comment.