assert_dom_not_equal

assert_dom_not_equal(expected, actual, message = nil)
Instance Public methods

The negated form of assert_dom_equivalent.

# assert that the referenced method does not generate the specified HTML string
assert_dom_not_equal '<a href="http://www.example.com">Apples</a>', link_to("Oranges", "http://www.example.com")
doc_ruby_on_rails
2015-06-20 00:00:00
Comments
Leave a Comment

Please login to continue.