Displaying 1 result from an estimated 1 matches for "shipping_cost_typ".
Did you mean:
shipping_cost_type
2006 Jan 10
2
Default unit tests failing?
...1) Error:
test_truth(ShippingCostTypeTest):
NoMethodError: You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.find
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.2/
lib/active_record/fixtures.rb:456:in
`shipping_cost_types''
test/unit/shipping_cost_type_test.rb:8:in `test_truth''
Fixture:
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
by_amount:
id: 1
name: amount
code: AMT
by_quantity:
id: 2
name: Quantity
code: QTY
Model:
class ShippingCostType <...