Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 585 Bytes
require 'rubygems'
require 'cucumber'
require 'cucumber/rake/task'
namespace :cucumber do
Cucumber::Rake::Task.new(:default) do |t|
t.cucumber_opts = "features --format pretty"
t.profile = "default"
end
Cucumber::Rake::Task.new(:extra_credit) do |t|
t.cucumber_opts = "features --format pretty"
t.profile = "extra_credit"
end
end
desc "Basic challenge acceptance tests"
task :default => ['cucumber:default']
desc "Extra credit tests"
task :extra_credit => ['cucumber:extra_credit']
# Make cucumber.el happy
task :cucumber => ['cucumber:extra_credit']