lib/parallel_tests/tasks.rb in parallel_tests-0.7.0.alpha2 vs lib/parallel_tests/tasks.rb in parallel_tests-0.7.0.rc1
- old
+ new
@@ -47,10 +47,10 @@
$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), '..'))
require "parallel_tests"
count, pattern, options = ParallelTests.parse_rake_args(args)
test_type = (type == 'features' ? 'cucumber' : type)
executable = File.join(File.dirname(__FILE__), '..', '..', 'bin', 'parallel_test')
- command = "#{executable} '#{Rails.root}/#{type}' --type #{test_type} -n #{count} -p '#{pattern}' -o '#{options}'"
+ command = "#{executable} #{type} --type #{test_type} -n #{count} -p '#{pattern}' -o '#{options}'"
abort unless system(command) # allow to chain tasks e.g. rake parallel:spec parallel:features
end
end
end