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