diff --git a/spec/integration_spec.rb b/spec/integration_spec.rb index 3e364281..8e7d66b8 100644 --- a/spec/integration_spec.rb +++ b/spec/integration_spec.rb @@ -66,7 +66,7 @@ def self.it_runs_the_default_folder_if_it_exists(type, test_folder) end end - let(:printed_commands) { /specs? per process\nbundle exec rspec/ } + let(:printed_commands) { /specs? per process\n{".+?"}\nbundle exec rspec/ } let(:printed_rerun) { "run the group again:\n\nbundle exec rspec" } context "running tests sequentially" do @@ -253,6 +253,7 @@ def test_unicode result = run_tests ["spec", "--verbose-process-command"], type: 'rspec', fail: true expect(result).to_not include printed_rerun expect(result).to match printed_commands + expect(result).to match(/.+\n{"TEST_ENV_NUMBER"=>"", "PARALLEL_TEST_GROUPS"=>"\d+", "PARALLEL_PID_FILE"=>".+?"}\n.+/) end it "fails when tests fail" do