jam-cloud/web/spec/support/webmock.rb

4 lines
184 B
Ruby
Raw Permalink Normal View History

driver_urls = Webdrivers::Common.subclasses.map do |driver|
Addressable::URI.parse(driver.base_url).host
end
WebMock.disable_net_connect!(allow_localhost: true, allow: driver_urls)