mirror of
https://github.com/neocities/neocities.git
synced 2025-08-02 07:41:52 +02:00
whitelist chromedriver download incase we use future selenium driver for capybara
This commit is contained in:
parent
69a0b90930
commit
aa1ea29a89
1 changed files with 4 additions and 1 deletions
|
@ -30,7 +30,10 @@ include WebMock::API
|
|||
require 'webmock/minitest'
|
||||
require 'sidekiq/testing'
|
||||
|
||||
WebMock.disable_net_connect! allow_localhost: true
|
||||
WebMock.disable_net_connect!({
|
||||
allow_localhost: true,
|
||||
allow: 'chromedriver.storage.googleapis.com'
|
||||
})
|
||||
WebMock.enable!
|
||||
|
||||
WebMock.globally_stub_request do |request|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue