kucaahbe/rspec-html-matchers

Support for XML parsing

Closed this issue · 1 comments

HaveTag is hardcoded to treat input as HTML (case insensitive) and therefore doesn't provide good testing of XML (case sensitive).

expect("<Foo>bar</Foo>").to have_tag('Foo')

This test fails when it should pass.

Closing based on conversation in PR #66