search for: finance_agreement_spec

Displaying 1 result from an estimated 1 matches for "finance_agreement_spec".

2007 May 01
2
Problem validating boolean
...t two expectations (true and false should be valid values) pass but it fails on this error: should be invalid if linked_to_residual_value_of_asset is not true or false expected valid? to return false, got true /Users/ashleymoran/Documents/Development/YourMoney/trunk/src/spec/ models/finance_agreement_spec.rb:65: (I cut some specs out, line 65 is "@finance_agreement.should_not be_valid") Any idea why 1 makes the model valid? The only thing I can find that makes it (correctly) invalid is nil. Thanks Ashley --~--~---------~--~----~------------~-------~--~----~ You received this messa...