search for: animals_path

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

2008 Jan 16
2
rspec_on_rails_matchers
...original spec with have_tag and with_tag did break but the rspec_on_rails_matcher version did not break! In fact I can do the following and not even get it to break: it "should render new form" do render "/animals/new.html.erb" response.should have_form_posting_to(animals_path) do with_text_field_for(:animal_kingdom) with_text_field_for(:animal_name) with_text_field_for(:some_non_existent_field) with_text_field_for(:something_else_that_should_break_it) end end Could someone please tell me what the painfully obvious thing that I am doing wr...