Skip to content

Commit

Permalink
Use Ruby 1.8 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jul 15, 2013
1 parent 2ae2728 commit 1900a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/autosave_association_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 1900a56

Please sign in to comment.