Displaying 1 result from an estimated 1 matches for "animal_nam".
Did you mean:
animal_name
2008 Jan 16
2
rspec_on_rails_matchers
...sion 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 wrong is? Or are the rspec_on_rails_matchers not working for
other people?
This is m...