search for: assert_well_form

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

Did you mean: assert_well_formed
2007 Apr 21
0
Issues with Functional Tests
...One of the things I''d most like to test is simply whether the resulting page is well-formed XHTML, to check if I''ve missed out any balancing tags in my RHTML templates. Ideally I''d like "assert_result :success" to check for well-formedness, or to have a separate assert_well_formed. What would be the best way to achieve this? Does assert_select "html" by itself enforce that the entire document is well-formed? (3) When using submit_tag, there doesn''t seem to be a simple way to do :confirm => "Are you sure?" like you can with link_to and b...