spec/spec_helper.rb in pact_broker-2.66.0 vs spec/spec_helper.rb in pact_broker-2.67.0

- old
+ new

@@ -10,15 +10,20 @@ require 'rspec/its' require 'rspec/pact/matchers' require 'sucker_punch/testing/inline' require 'webmock/rspec' require 'pact_broker/policies' +require 'approvals/rspec' Dir.glob("./spec/support/**/*.rb") { |file| require file } WebMock.disable_net_connect!(allow_localhost: true) I18n.config.enforce_available_locales = false + +Approvals.configure do |c| + c.approvals_path = 'spec/fixtures/approvals/' +end RSpec.configure do | config | config.before :each do PactBroker.reset_configuration PactBroker.configuration.seed_example_data = false