Fix another_contract not being used warning

This commit is contained in:
Vipul A M 2013-06-24 20:28:15 +05:30
parent f6cdc2282f
commit 9d474d4885

@ -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]