Skip to content

Commit

Permalink
fix: require rspec now that pact-support does not depend on it
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 6, 2020
1 parent f47e41c commit 5b5c27c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pact/cli/run_pact_verification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b5c27c

Please sign in to comment.