Put test ENV in the right place so cucumber/rake both work

This commit is contained in:
Thomas Reynolds 2012-05-25 18:19:11 -07:00
parent b5b6349220
commit f8c64f25ec
3 changed files with 4 additions and 2 deletions

View file

@ -17,8 +17,6 @@ class Bundler::GemHelper
end
Cucumber::Rake::Task.new(:test, 'Run features that should pass') do |t|
ENV["TEST"] = "true"
exempt_tags = ""
exempt_tags << "--tags ~@nojava" if RUBY_PLATFORM == "java"