have_xpath is wrapping xml with html
Reported by flazz | November 19th, 2008 @ 07:01 PM
failing spec here:http://gist.github.com/26833
from #webrat
brynary> flazz: so Webrat itself is not adding the html wrapper, I think it's nokogiri
Comments and changes to this ticket
-
flazz November 19th, 2008 @ 07:02 PM
contents of the gist:
it "should work with non-HTML documents" do xml = '' xml.should have_xpath('/foo[bar="baz"]') end -
Bryan Helmkamp November 22nd, 2008 @ 04:47 PM
- → State changed from new to resolved
(from [a8e02a6b6e686cc4fd7b9c16b5fec88ae14179c9]) Switch to using Nokogiri.parse for XML/XHTML autodetection [#66 state:resolved] http://github.com/brynary/webrat...
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Ruby Acceptance Testing for Web applications
