public
Description: Webrat - Ruby Acceptance Testing for Web applications
Homepage: http://gitrdoc.com/brynary/webrat/tree/master/
Clone URL: git://github.com/brynary/webrat.git
Add pending spec for XML bug
brynary (author)
Thu Nov 20 13:15:05 -0800 2008
commit  bb5eac701d2ec5201f212ec079733f2c3ee34b55
tree    c5f3f7decf2f632aa84bf74cbd6bf66c9978e47f
parent  9b5ffacecc0615806eb5fc0fb21bb3107e4f675e
...
17
18
19
 
 
 
 
 
20
21
22
...
17
18
19
20
21
22
23
24
25
26
27
0
@@ -17,6 +17,11 @@ describe Webrat::Matchers do
0
   end
0
   
0
   describe "#have_xpath" do
0
+    it "should work with non-HTML documents" do
0
+      pending "Bugfix"
0
+      xml = '<foo bar="baz"></foo>'
0
+      xml.should have_xpath('/foo[@bar="baz"]')
0
+    end
0
     
0
     it "should be able to match an XPATH" do
0
       @body.should have_xpath("//div")

Comments