Fix up RSpec tests
This commit is contained in:
parent
92926effa5
commit
d75ba79b3d
4 changed files with 13 additions and 2 deletions
|
|
@ -13,8 +13,8 @@ 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 'webmock/rspec'
|
||||
# WebMock.disable_net_connect!(allow_localhost: true)
|
||||
|
||||
require 'rspec/rails'
|
||||
require 'shoulda/matchers'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue