Displaying 1 result from an estimated 1 matches for "haveaformwithid".
2009 Apr 02
8
Problem with Custom matcher and Blocks
...t added that field yet.
When it gets to the describe block for the subject, I get:
NoMethodError in ''/contact/index the contact form before it has been
submitted the subject dropdown box should have a blank option''
undefined method `have_selector'' for
#<FormMatchers::HaveAFormWithID:0x7f3260ac>
The have_a_contact_form method is as follows:
def have_a_contact_form &block
have_a_form_with_id ''contact'', &block
end
That calls a have_a_form_with_id method, which calls the haveAFormWithID
class.
module FormMatchers
class HaveAFormWithID...