spec/spec_helper.rb in pact_broker-2.12.0 vs spec/spec_helper.rb in pact_broker-2.13.0
- old
+ new
@@ -13,9 +13,13 @@
PactBroker::DB.connection = PactBroker::Database.database = DB::PACT_BROKER_DB
require 'rack/test'
require 'pact_broker/api'
require 'rspec/its'
+require 'sucker_punch/testing/inline'
+require 'webmock/rspec'
+
+WebMock.disable_net_connect!(allow_localhost: true)
Dir.glob("./spec/support/**/*.rb") { |file| require file }
I18n.config.enforce_available_locales = false