fix rake tasks

This commit is contained in:
Thomas Reynolds 2011-12-29 19:52:00 -08:00
parent ca10d108e3
commit 4b5174f0c8
4 changed files with 81 additions and 15 deletions

View file

@ -1,8 +1,7 @@
require 'rubygems' unless defined?(Gem)
require 'rake'
require 'cucumber/rake/task'
require 'bundler/gem_tasks'
require 'yard'
# Skip the releasing tag
class Bundler::GemHelper
@ -14,6 +13,7 @@ class Bundler::GemHelper
end
end
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:test, 'Run features that should pass') do |t|
t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
end