summaryrefslogtreecommitdiff
path: root/spec/support/import_spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/import_spec_helper.rb')
-rw-r--r--spec/support/import_spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/import_spec_helper.rb b/spec/support/import_spec_helper.rb
index 6710962f082..d4eced724fa 100644
--- a/spec/support/import_spec_helper.rb
+++ b/spec/support/import_spec_helper.rb
@@ -28,6 +28,6 @@ module ImportSpecHelper
app_id: 'asd123',
app_secret: 'asd123'
)
- allow(Gitlab.config.omniauth).to receive(:providers).and_return([provider])
+ stub_omniauth_setting(providers: [provider])
end
end