Begin writing tests for Mailbluster API calls
This commit is contained in:
parent
c6c2c4e264
commit
27baa935c1
3 changed files with 29 additions and 0 deletions
|
|
@ -12,6 +12,10 @@ SimpleCov.start 'rails'
|
|||
ENV['RAILS_ENV'] ||= 'test'
|
||||
require File.expand_path('../../config/environment', __FILE__)
|
||||
|
||||
# Prevent tests from making calls to the Internet
|
||||
require 'webmock/rspec'
|
||||
WebMock.disable_net_connect!(allow_localhost: true)
|
||||
|
||||
require 'rspec/rails'
|
||||
require 'shoulda/matchers'
|
||||
require 'webdrivers'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue