search for: field_for

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

Did you mean: fields_for
2007 Nov 14
0
Should receive field_for failing
I have a spec that''s not behaving as I''m thinking it should. Here''s the code: http://pastie.caboo.se/117931 it''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.",