Specs: Disable external requests with WebMock

This commit is contained in:
Sebastian Serth
2023-06-23 21:58:12 +02:00
parent 06d69d8eb8
commit f36e7673ec
2 changed files with 8 additions and 8 deletions

View File

@ -50,4 +50,4 @@ Shoulda::Matchers.configure do |config|
end
end
WebMock.allow_net_connect!
WebMock.disable_net_connect!(allow_localhost: true)