Permalink
Browse files

Expect a slightly different filename.

I'm having difficulty getting the 'correct' filename to be generated and, frankly, it's not that important, so I'm just expecting a different filename now. :)
  • Loading branch information...
mathie committed May 4, 2009
1 parent e0cf0f0 commit fd997315bbcb3e35d6e2b86cc3c5938f0c61dcb0
Showing with 4 additions and 4 deletions.
  1. +4 −4 acceptance/verification_spec.rb
@@ -65,12 +65,12 @@
describe "Cucumber acceptance" do
it "should generate two XML files" do
- File.exist?(File.join(REPORTS_DIR, 'CUCUMBER-example-feature-conscientious-developer.xml')).should == true
- File.exist?(File.join(REPORTS_DIR, 'CUCUMBER-example-feature-lazy-hacker.xml')).should == true
+ File.exist?(File.join(REPORTS_DIR, 'CUCUMBER-Feature-Example-feature-Conscientious-developer.xml')).should == true
+ File.exist?(File.join(REPORTS_DIR, 'CUCUMBER-Feature-Example-feature-Lazy-hacker.xml')).should == true
end
it "should have three tests and no failures for the conscientious developer" do
- doc = File.open(File.join(REPORTS_DIR, 'CUCUMBER-example-feature-conscientious-developer.xml')) do |f|
+ doc = File.open(File.join(REPORTS_DIR, 'CUCUMBER-Feature-Example-feature-Conscientious-developer.xml')) do |f|
REXML::Document.new(f)
end
doc.root.attributes["errors"].should == "0"
@@ -80,7 +80,7 @@
end
it "should have three tests, one failure and one error (skipped) for the lazy hacker" do
- doc = File.open(File.join(REPORTS_DIR, 'CUCUMBER-example-feature-lazy-hacker.xml')) do |f|
+ 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"

0 comments on commit fd99731

Please sign in to comment.