Permalink
Browse files

Merge pull request #11075 from vipulnsward/remove_record

Remove `another_contract` as it isn't being used
  • Loading branch information...
2 parents f6cdc22 + 9d474d4 commit 359a2196642b92883e120c4922d660e908a9080d @senny senny committed Jun 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations/has_many_associations_test.rb
@@ -1351,7 +1351,7 @@ def test_get_ids_for_association_on_new_record_does_not_try_to_find_records
def test_set_ids_for_association_on_new_record_applies_association_correctly
contract_a = Contract.create!
contract_b = Contract.create!
- another_contract = Contract.create!
+ Contract.create! # another contract
company = Company.new(:name => "Some Company")
company.contract_ids = [contract_a.id, contract_b.id]

0 comments on commit 359a219

Please sign in to comment.