mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Disable external connections in test env
This commit is contained in:
parent
bb08deca89
commit
8134b0ded6
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
||||||
require 'webmock/rspec'
|
require 'webmock/rspec'
|
||||||
|
WebMock.disable_net_connect!(allow_localhost: true)
|
||||||
|
|
||||||
if ENV['TRAVIS']
|
if ENV['TRAVIS']
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
SimpleCov.start
|
SimpleCov.start
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue