Add pending spec for XML bug
This commit is contained in:
parent
9b5ffacecc
commit
bb5eac701d
@ -17,6 +17,11 @@ describe Webrat::Matchers do
|
|||||||
end
|
end
|
||||||
|
|
||||||
describe "#have_xpath" do
|
describe "#have_xpath" do
|
||||||
|
it "should work with non-HTML documents" do
|
||||||
|
pending "Bugfix"
|
||||||
|
xml = '<foo bar="baz"></foo>'
|
||||||
|
xml.should have_xpath('/foo[@bar="baz"]')
|
||||||
|
end
|
||||||
|
|
||||||
it "should be able to match an XPATH" do
|
it "should be able to match an XPATH" do
|
||||||
@body.should have_xpath("//div")
|
@body.should have_xpath("//div")
|
||||||
|
Loading…
Reference in New Issue
Block a user