Skip to content

Commit

Permalink
force WebMock Net::HTTP adapter to always connect on Net::HTTP.start
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBlackLight committed Dec 1, 2023
1 parent 1e4a726 commit 8df2ea7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8df2ea7

Please sign in to comment.