search for: assert_result

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

2007 Apr 21
0
Issues with Functional Tests
...that hard-codes knowledge of what the layout is using to display the flash. (2) 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 simpl...