summaryrefslogtreecommitdiff
path: root/spec/rack_servers/puma_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rack_servers/puma_spec.rb')
-rw-r--r--spec/rack_servers/puma_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rack_servers/puma_spec.rb b/spec/rack_servers/puma_spec.rb
index 80595b267fa..6729119fe92 100644
--- a/spec/rack_servers/puma_spec.rb
+++ b/spec/rack_servers/puma_spec.rb
@@ -44,7 +44,7 @@ RSpec.describe 'Puma' do
end
after(:all) do
- WebMock.disable_net_connect!(allow_localhost: true)
+ webmock_enable!
Process.kill('TERM', @puma_master_pid)
rescue Errno::ESRCH
end