From 1d5b08aa92033a176b00bb323731fcc73e7c391f Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Wed, 6 Jul 2011 09:52:22 -0700 Subject: [PATCH] Don't use the pretty formatter on CI --- lib/tasks/cucumber.rake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tasks/cucumber.rake b/lib/tasks/cucumber.rake index 4e2d578e7..772c40022 100644 --- a/lib/tasks/cucumber.rake +++ b/lib/tasks/cucumber.rake @@ -18,7 +18,9 @@ begin t.binary = vendored_cucumber_bin # If nil, the gem's binary is used. t.fork = true # You may get faster startup if you set this to false t.profile = 'default' - t.cucumber_opts = "-f pretty --exclude features/uri-tests/*" + cucumber_opts = "--exclude features/uri-tests/*" + cucumber_opts << " -f pretty" unless ENV["CI"] || ENV["TRAVIS"] + t.cucumber_opts = cucumber_opts end Cucumber::Rake::Task.new(:wip, 'Run features that are being worked on') do |t|