lib/parallel_tests/tasks.rb in parallel_tests-2.26.0 vs lib/parallel_tests/tasks.rb in parallel_tests-2.26.2
- old
+ new
@@ -12,10 +12,10 @@
require "parallel_tests"
end
def purge_before_load
if Gem::Version.new(Rails.version) > Gem::Version.new('4.2.0')
- Rake::Task.task_defined?('db:test:purge') ? 'db:test:purge' : 'app:db:test:purge'
+ Rake::Task.task_defined?('db:purge') ? 'db:purge' : 'app:db:purge'
end
end
def run_in_parallel(cmd, options={})
load_lib