spec/integration_spec.rb in parallel_tests-0.7.0.rc1 vs spec/integration_spec.rb in parallel_tests-0.7.0.rc2

- old
+ new

@@ -33,10 +33,10 @@ end def run_tests(test_folder, options={}) ensure_folder folder processes = "-n #{options[:processes]||2}" unless options[:processes] == false - result = `cd #{folder} && #{options[:export]} #{executable} #{test_folder} --chunk-timeout 999 -t #{options[:type] || 'spec'} #{processes} #{options[:add]} 2>&1` + result = `cd #{folder} && #{options[:export]} #{executable} #{test_folder} --chunk-timeout 999 -t #{options[:type] || 'rspec'} #{processes} #{options[:add]} 2>&1` raise "FAILED #{result}" if $?.success? == !!options[:fail] result end it "runs tests in parallel" do