DEV: allow bin/turbo_tests to run tests without params

DEV: allow bin/turbo_tests to run tests without params

diff --git a/bin/turbo_rspec b/bin/turbo_rspec
index 4594db4..0d96601 100755
--- a/bin/turbo_rspec
+++ b/bin/turbo_rspec
@@ -1,4 +1,5 @@
 #!/usr/bin/env ruby
+# frozen_string_literal: true
 
 require './lib/turbo_tests'
 require 'optparse'
@@ -44,4 +45,4 @@ formatters.each do |formatter|
   end
 end
 
-TurboTests::Runner.run(formatters, ARGV)
+TurboTests::Runner.run(formatters, ARGV.empty? ? ["spec"] : ARGV)

GitHub sha: fc84e23b

2 Likes