diff --git a/ee/spec/lib/gitlab/geo_spec.rb b/ee/spec/lib/gitlab/geo_spec.rb index 159b87917107ea84e0dc250b9c309b3d2cb7e568..18ba16f879d0461adb8021324c66a34dde6225e9 100644 --- a/ee/spec/lib/gitlab/geo_spec.rb +++ b/ee/spec/lib/gitlab/geo_spec.rb @@ -360,6 +360,10 @@ subject { described_class.proxied_site(env) } + before do + described_class.clear_memoization(:proxied_site) + end + context 'for a non-proxied request' do it { is_expected.to be_nil } end