fix flaky spec in ip_service_spec

This commit is contained in:
simon lehericey 2019-08-20 16:40:50 +02:00
parent 3330b9550f
commit eb2ebee16e

View file

@ -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