Displaying 1 result from an estimated 1 matches for "anytown".
Did you mean:
anton
2007 Nov 14
0
Should receive field_for failing
...;s failing with:
ActionView::TemplateError in ''customers/new should receive fields_for''
Mock ''ActionView::Base'' expected :form_for with ("address", #<Address id:
nil, address1: "123 Main St.", address2: "PO Box 9403", city: "Anytown",
state: "FL", zip_code: "12345">) but received it with (:customer,
#<Customer:0x..fdb9ec5fe @name="Customer_1000">, {:url=>"/customers"})
Since the specs don''t seem to follow subsequent render calls, is there a
way to verify that a...