diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-08 16:49:01 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-06-08 16:50:05 +0200 |
commit | 13d941e185c3ca1e9ad54c97f878e9cfdd32e5aa (patch) | |
tree | 9fdbc38329627a7ba3e3f36ba5313cfe80cdb4e9 /spec/services/projects | |
parent | 722211cddfaeba38f678cc523755af1ce645cb5a (diff) | |
download | gitlab-ce-13d941e185c3ca1e9ad54c97f878e9cfdd32e5aa.tar.gz |
Make Omniauth providers specs to not modify global configuration
Diffstat (limited to 'spec/services/projects')
-rw-r--r-- | spec/services/projects/import_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/projects/import_service_spec.rb b/spec/services/projects/import_service_spec.rb index 9d90bfceb73..068c9a1219c 100644 --- a/spec/services/projects/import_service_spec.rb +++ b/spec/services/projects/import_service_spec.rb @@ -124,7 +124,7 @@ describe Projects::ImportService, services: true do } ) - Gitlab.config.omniauth.providers << provider + allow(Gitlab.config.omniauth).to receive(:providers).and_return([provider]) end end end |