Commit d7dbbbae authored by Stan Hu's avatar Stan Hu

Merge branch 'hchouraria-fix-flaky-imap-authentication-check-spec' into 'master'

Fix order-dependent spec failure in imap_authentication_check_spec.rb

See merge request gitlab-org/gitlab!63339
parents 1ae52243 161301c5
......@@ -33,6 +33,10 @@ RSpec.describe Gitlab::MailRoom do
described_class.instance_variable_set(:@enabled_configs, nil)
end
after do
described_class.instance_variable_set(:@enabled_configs, nil)
end
describe '#enabled_configs' do
before do
allow(described_class).to receive(:load_yaml).and_return(configs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment