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