task/floodtest.rake in rack-simple_auth-0.1.2 vs task/floodtest.rake in rack-simple_auth-0.1.3
- old
+ new
@@ -8,9 +8,10 @@
desc 'Run Unit floodtest (default 30 tests, configurable via ENV["TESTS"])'
task :unit do
1.upto(test_runs) do |i|
puts "Running test #{i} of #{test_runs}"
exit(-1) if !system('bundle exec rake test:unit')
+ Rake::Task['test:cleanup'].invoke
end
end
# desc 'Run Spec floodtest (default 30 tests, configurable via ENV["TESTS"])'
# task :spec do