Skip to content
Snippets Groups Projects
Commit 57830201 authored by Robert Speicher's avatar Robert Speicher
Browse files

Add spec/support files for WebMock and test coverage

parent 2f3ab0ab
No related branches found
No related tags found
No related merge requests found
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'
 
Loading
Loading
@@ -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
Loading
Loading
if ENV['SIMPLECOV']
require 'simplecov'
end
if ENV['COVERALLS']
require 'coveralls'
Coveralls.wear_merged!
end
require 'webmock'
require 'webmock/rspec'
WebMock.disable_net_connect!(allow_localhost: true)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment