Displaying 1 result from an estimated 1 matches for "contact_country".
2006 Aug 11
5
Unit tests - NilClass problem
...rs
# Replace this with your real tests.
def test_create
test_creation_of :model => Customer,
:record => @customer,
:fixture => @first,
:attributes => [:id, :name, :contact_firstname,
:contact_lastname, :contact_address, :contact_country, :contact_state,
:contact_email, :contact_phone, :activationcode]
end
end
and when trying to run it I get:
------------
Loaded suite customer_test
Started
F
Finished in 0.731 seconds.
1) Failure:
test_create(CustomerTest)
[./../test_helper.rb:31:in `test_creation_of''
custo...