fix flaky spec in ip_service_spec
This commit is contained in:
parent
3330b9550f
commit
eb2ebee16e
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ require 'spec_helper'
|
||||||
|
|
||||||
describe IPService do
|
describe IPService do
|
||||||
describe '.ip_trusted?' do
|
describe '.ip_trusted?' do
|
||||||
|
after(:each) { ENV['TRUSTED_NETWORKS'] = nil }
|
||||||
|
|
||||||
subject { IPService.ip_trusted?(ip) }
|
subject { IPService.ip_trusted?(ip) }
|
||||||
|
|
||||||
context 'when the ip is nil' do
|
context 'when the ip is nil' do
|
||||||
|
|
Loading…
Reference in a new issue