From 5b5c27c8edb382db0258a9f243661e2b94e045eb Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Fri, 6 Nov 2020 12:39:37 +1100 Subject: [PATCH] fix: require rspec now that pact-support does not depend on it --- lib/pact/cli/run_pact_verification.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pact/cli/run_pact_verification.rb b/lib/pact/cli/run_pact_verification.rb index 4b5f47ae..21f70384 100644 --- a/lib/pact/cli/run_pact_verification.rb +++ b/lib/pact/cli/run_pact_verification.rb @@ -27,6 +27,7 @@ def initialize_rspec # With RSpec3, if the pact_helper loads a library that adds its own formatter before we set one, # we will get a ProgressFormatter too, and get little dots sprinkled throughout our output. # Load a NilFormatter here to prevent that. + require 'rspec' require 'pact/rspec' ::RSpec.configuration.add_formatter Pact::RSpec.formatter_class.const_get('NilFormatter') end