lib/parallel_tests/tasks.rb in parallel_tests-2.8.0 vs lib/parallel_tests/tasks.rb in parallel_tests-2.9.0

- old
+ new

@@ -87,10 +87,10 @@ ParallelTests::Tasks.run_in_parallel("rake db:create RAILS_ENV=#{ParallelTests::Tasks.rails_env}", args) end desc "drop test databases via db:drop --> parallel:drop[num_cpus]" task :drop, :count do |_,args| - ParallelTests::Tasks.run_in_parallel("rake db:drop RAILS_ENV=#{ParallelTests::Tasks.rails_env}", args) + ParallelTests::Tasks.run_in_parallel("rake db:drop RAILS_ENV=#{ParallelTests::Tasks.rails_env} DISABLE_DATABASE_ENVIRONMENT_CHECK=1", args) end desc "update test databases by dumping and loading --> parallel:prepare[num_cpus]" task(:prepare, [:count]) do |_,args| ParallelTests::Tasks.check_for_pending_migrations