Fix RSpec unit testing when using Docker dev setup (#10950)
This commit is contained in:
parent
1f562783fc
commit
65336d6ff3
2 changed files with 3 additions and 1 deletions
|
|
@ -48,6 +48,7 @@ allowed_sites = [
|
|||
"selenium-release.storage.googleapis.com",
|
||||
"developer.microsoft.com/en-us/microsoft-edge/tools/webdriver",
|
||||
"api.knapsackpro.com",
|
||||
"elasticsearch",
|
||||
]
|
||||
WebMock.disable_net_connect!(allow_localhost: true, allow: allowed_sites)
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@ VCR.configure do |config|
|
|||
"github.com/mozilla/geckodriver/releases",
|
||||
"selenium-release.storage.googleapis.com",
|
||||
"developer.microsoft.com/en-us/microsoft-edge/tools/webdriver",
|
||||
"api.knapsackpro.com", "localhost", "127.0.0.1", "0.0.0.0"
|
||||
"api.knapsackpro.com", "localhost", "127.0.0.1", "0.0.0.0",
|
||||
"elasticsearch"
|
||||
)
|
||||
|
||||
# Removes all private data (Basic Auth, Set-Cookie headers...)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue