lib/parallel_tests/tasks.rb in parallel_tests-0.6.20 vs lib/parallel_tests/tasks.rb in parallel_tests-0.7.0.alpha
- old
+ new
@@ -51,30 +51,5 @@
command = "#{executable} --type #{type} -n #{count} -p '#{pattern}' -r '#{Rails.root}' -o '#{options}'"
abort unless system(command) # allow to chain tasks e.g. rake parallel:spec parallel:features
end
end
end
-
-#backwards compatability
-#spec:parallel:prepare
-#spec:parallel
-#test:parallel
-namespace :spec do
- namespace :parallel do
- task :prepare, :count do |t,args|
- $stderr.puts "WARNING -- Deprecated! use parallel:prepare"
- Rake::Task['parallel:prepare'].invoke(args[:count])
- end
- end
-
- task :parallel, :count, :pattern do |t,args|
- $stderr.puts "WARNING -- Deprecated! use parallel:spec"
- Rake::Task['parallel:spec'].invoke(args[:count], args[:pattern])
- end
-end
-
-namespace :test do
- task :parallel, :count, :pattern do |t,args|
- $stderr.puts "WARNING -- Deprecated! use parallel:test"
- Rake::Task['parallel:test'].invoke(args[:count], args[:pattern])
- end
-end