Pair of assertions to testing elements in the HTML output of the response.
| Public Methods | |
|---|---|
| assert_ |
Identical to #assert_tag, but asserts that a matching tag does not exist. (See #assert_tag for a full discussion of the syntax.) |
| assert_ |
Asserts that there is a tag/node/element in the body of the response that meets all of the given conditions. The conditions parameter must be a hash of any of the following keys (all are optional): |
<code/>and<pre/>for code samples.