Permalink
Browse files

Pending steps should not be reported as errors.

This keeps the Cucumber implementation in step with the RSpec one.  Shame there isn't a way of reporting pending steps, though?
  • Loading branch information...
1 parent 30c07a7 commit 8c67cdd0d9a2660b42cc11a66e12d6db217da614 @mathie mathie committed May 4, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 acceptance/verification_spec.rb
@@ -79,11 +79,11 @@
doc.root.elements.to_a("/testsuite/testcase").size.should == 3
end
- it "should have three tests, one failure and one error (skipped) for the lazy hacker" do
+ it "should have three tests and one failure for the lazy hacker" do
doc = File.open(File.join(REPORTS_DIR, 'CUCUMBER-Feature-Example-feature-Lazy-hacker.xml')) do |f|
REXML::Document.new(f)
end
- doc.root.attributes["errors"].should == "1"
+ doc.root.attributes["errors"].should == "0"
doc.root.attributes["failures"].should == "1"
doc.root.attributes["tests"].should == "3"
doc.root.elements.to_a("/testsuite/testcase").size.should == 3

0 comments on commit 8c67cdd

Please sign in to comment.