From 8df2ea73ef3ff76e85d1869da15a491a85bb7bc5 Mon Sep 17 00:00:00 2001 From: JackBlackLight Date: Fri, 1 Dec 2023 14:07:59 -0500 Subject: [PATCH] =?UTF-8?q?force=20WebMock=20Net::HTTP=20adapter=20to=20al?= =?UTF-8?q?ways=20connect=20on=C2=A0Net::HTTP.start?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spec/spec_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index fc4cd576..d8a10bc4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -24,7 +24,8 @@ require 'webmock/rspec' WebMock.disable_net_connect!( allow_localhost: true, - allow: 'chromedriver.storage.googleapis.com' + allow: 'chromedriver.storage.googleapis.com', + net_http_connect_on_start: true ) # on-screen widgets will collapse at certain width breakpoints, so feature specs need to define window dimensions