Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Nuke the CucumberDoc version for now.

At least until I have the need to implement it. :)
  • Loading branch information...
commit 8f70366c307cdd19ddf0da7da3f50c14b04dcdc8 1 parent dc714d6
@mathie mathie authored
View
3  lib/ci/reporter/cucumber.rb
@@ -95,8 +95,5 @@ def visit_step(step)
return_value
end
end
-
- class CucumberDoc < ::Cucumber::Formatter::Pretty
- end
end
end
View
6 lib/ci/reporter/rake/cucumber.rb
@@ -13,11 +13,5 @@
"--format", "CI::Reporter::Cucumber"].join(" ")
ENV["CUCUMBER_OPTS"] = "#{ENV['CUCUMBER_OPTS']} #{spec_opts}"
end
-
- task :cucumberdoc => :cucumber_report_cleanup do
- spec_opts = ["--require", "#{File.dirname(__FILE__)}/cucumber_loader.rb",
- "--format", "CI::Reporter::CucumberDoc"].join(" ")
- ENV["CUCUMBER_OPTS"] = "#{ENV['CUCUMBER_OPTS']} #{spec_opts}"
- end
end
end
View
5 spec/ci/reporter/rake/rake_tasks_spec.rb
@@ -92,11 +92,6 @@ def restore_env(v)
ENV["CUCUMBER_OPTS"].should =~ /--require.*cucumber_loader.*--format.*CI::Reporter::Cucumber/
end
- it "should set ENV['CUCUMBER_OPTS'] to include cucumber doc formatter if task is ci:setup:cucumberdoc" do
- @rake["ci:setup:cucumberdoc"].invoke
- ENV["CUCUMBER_OPTS"].should =~ /--require.*cucumber_loader.*--format.*CI::Reporter::CucumberDoc/
- end
-
it "should append to ENV['CUCUMBER_OPTS'] if it already contains a value" do
ENV["CUCUMBER_OPTS"] = "somevalue".freeze
@rake["ci:setup:cucumber"].invoke
Please sign in to comment.
Something went wrong with that request. Please try again.