Rakefile in spreewald-0.6.7 vs Rakefile in spreewald-0.7.0
- old
+ new
@@ -20,11 +20,11 @@
desc "Run tests on all test apps"
task :run do # to run the tests type "rake tests:run" into your console
success = true
for_each_directory_of('tests/**/Rakefile') do |directory|
Bundler.with_clean_env do
- env = "SPEC=../../#{ENV['SPEC']} " if ENV['SPEC']
- success &= system("cd #{directory} && #{env} bundle exec rake features")
+ env = "FEATURE=../../#{ENV['FEATURE']}" if ENV['FEATURE']
+ success &= system("cd #{directory} && bundle exec rake features #{env}")
end
end
fail "Tests failed" unless success
end