From 8b8b8df394438a996d7cbcdac991f84eb2fbd3f4 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Thu, 5 Apr 2018 16:06:10 +0300 Subject: [PATCH] Reset WebMock after integration tests --- test/test_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index 01392b83c..931a0d21b 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -34,6 +34,7 @@ class ActionDispatch::IntegrationTest teardown do Warden.test_reset! + WebMock.reset! Capybara.reset_sessions! Capybara.use_default_driver end