From 488fddfff5aacfb0d4a815373717e7c9d9f8aa4e Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 27 Nov 2010 16:58:04 -0800 Subject: [PATCH] Rake runs cucumber tasks by default --- Rakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index f525aa04..af740bb9 100644 --- a/Rakefile +++ b/Rakefile @@ -5,10 +5,16 @@ require 'compass' # ----- Default: Testing ------ -task :default => :test +task :default => [:test, :features] require 'rake/testtask' require 'fileutils' +require 'cucumber' +require 'cucumber/rake/task' + +Cucumber::Rake::Task.new(:features) do |t| + t.cucumber_opts = "features --format pretty" +end Rake::TestTask.new :test do |t| t.libs << 'lib'