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