test: fix frequent too many open files with webmock & capybara

This commit is contained in:
Colin Darie 2022-08-03 15:54:40 +02:00
parent 3ce699eef3
commit 9e9b429100
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -1,3 +1,3 @@
require 'webmock/rspec'
WebMock.disable_net_connect!(allow_localhost: true)
WebMock.disable_net_connect!(allow_localhost: true, net_http_connect_on_start: true)