diff --git a/Gemfile.lock b/Gemfile.lock index 18db400..1321980 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - turbo_tests (2.0.0) + turbo_tests (2.1.0) bundler (>= 2.1) parallel_tests (>= 3.3.0, < 5) rspec (>= 3.10) diff --git a/lib/turbo_tests/runner.rb b/lib/turbo_tests/runner.rb index 31fd36e..9789db4 100644 --- a/lib/turbo_tests/runner.rb +++ b/lib/turbo_tests/runner.rb @@ -148,7 +148,7 @@ def start_subprocess(env, extra_args, tests, process_id, record_runtime:) end command = [ - ENV["BUNDLE_BIN_PATH"], "exec", "rspec", + "rspec", *extra_args, "--seed", rand(0xFFFF).to_s, "--format", "TurboTests::JsonRowsFormatter", @@ -156,6 +156,7 @@ def start_subprocess(env, extra_args, tests, process_id, record_runtime:) *record_runtime_options, *tests ] + command.unshift(ENV["BUNDLE_BIN_PATH"], "exec") if ENV["BUNDLE_BIN_PATH"] if @verbose command_str = [ diff --git a/lib/turbo_tests/version.rb b/lib/turbo_tests/version.rb index d7bac72..84aa4e2 100644 --- a/lib/turbo_tests/version.rb +++ b/lib/turbo_tests/version.rb @@ -1,3 +1,3 @@ module TurboTests - VERSION = "2.0.0" + VERSION = "2.1.0" end