From 6cef28ed589318f3ef779dd840a68b4498e92ac8 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 4 Mar 2013 03:13:06 +0100 Subject: [PATCH] Add features:html task to Rakefile, use cucumber profiles --- Rakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 9e6389ad..3b41504f 100644 --- a/Rakefile +++ b/Rakefile @@ -66,7 +66,10 @@ end begin require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |t| - t.cucumber_opts = "--format progress" + t.profile = "travis" + end + Cucumber::Rake::Task.new(:"features:html", "Run Cucumber features and produce HTML output") do |t| + t.profile = "html_report" end rescue LoadError desc 'Cucumber rake task not available'