diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 8fe51cf4add38ef91311761efdd97b9dd94c73d0..8cd00bdb2f9efbb4ce282972f873d17b44e64788 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,16 +1,6 @@
-if ENV['SIMPLECOV']
-  require 'simplecov'
-end
-
-if ENV['COVERALLS']
-  require 'coveralls'
-  Coveralls.wear_merged!
-end
-
 ENV["RAILS_ENV"] ||= 'test'
 require File.expand_path("../../config/environment", __FILE__)
 require 'rspec/rails'
-require 'webmock/rspec'
 require 'email_spec'
 require 'sidekiq/testing/inline'
 
@@ -18,8 +8,6 @@
 # in spec/support/ and its subdirectories.
 Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
 
-WebMock.disable_net_connect!(allow_localhost: true)
-
 RSpec.configure do |config|
   config.use_transactional_fixtures = false
   config.use_instantiated_fixtures  = false
diff --git a/spec/support/coverage.rb b/spec/support/coverage.rb
new file mode 100644
index 0000000000000000000000000000000000000000..a54bf03380ca5d545ee24e876caf354b854e3e2e
--- /dev/null
+++ b/spec/support/coverage.rb
@@ -0,0 +1,8 @@
+if ENV['SIMPLECOV']
+  require 'simplecov'
+end
+
+if ENV['COVERALLS']
+  require 'coveralls'
+  Coveralls.wear_merged!
+end
diff --git a/spec/support/webmock.rb b/spec/support/webmock.rb
new file mode 100644
index 0000000000000000000000000000000000000000..af2906b7568514585ac4f4ec3a7234fb13265a12
--- /dev/null
+++ b/spec/support/webmock.rb
@@ -0,0 +1,4 @@
+require 'webmock'
+require 'webmock/rspec'
+
+WebMock.disable_net_connect!(allow_localhost: true)