DEV: make parallel spec optional with autospec

DEV: make parallel spec optional with autospec

At least temporarily while we refine the system keep parallel as optional

diff --git a/lib/autospec/simple_runner.rb b/lib/autospec/simple_runner.rb
index 12c8241..816a499 100644
--- a/lib/autospec/simple_runner.rb
+++ b/lib/autospec/simple_runner.rb
@@ -22,7 +22,7 @@ module Autospec
       ]
 
       command = begin
-        if ENV["PARALLEL_SPEC"] != '0' &&
+        if ENV["PARALLEL_SPEC"] == '1' &&
               !specs.split.any? { |s| puts s; s =~ /\:/ } # Parallel spec can't run specific groups
 
           "bin/turbo_rspec #{args.join(" ")} #{specs.split.join(" ")}"

GitHub sha: fd5c2fba

1 Like