mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Allow more Webdrivers update URLs in spec
Follow advise from the webdrivers wiki
This commit is contained in:
parent
50130ba090
commit
559c2b9ab0
2 changed files with 13 additions and 4 deletions
|
|
@ -2,10 +2,6 @@
|
|||
|
||||
# Mock external requests to youtube
|
||||
require 'webmock/rspec'
|
||||
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, /stripe.com/])
|
||||
|
||||
RSpec.configure do |config|
|
||||
config.before(:each) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue