Skip to content

Commit 5b5c27c

Browse files
committed
fix: require rspec now that pact-support does not depend on it
1 parent f47e41c commit 5b5c27c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/pact/cli/run_pact_verification.rb

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def initialize_rspec
2727
# With RSpec3, if the pact_helper loads a library that adds its own formatter before we set one,
2828
# we will get a ProgressFormatter too, and get little dots sprinkled throughout our output.
2929
# Load a NilFormatter here to prevent that.
30+
require 'rspec'
3031
require 'pact/rspec'
3132
::RSpec.configuration.add_formatter Pact::RSpec.formatter_class.const_get('NilFormatter')
3233
end

0 commit comments

Comments
 (0)