Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Bobbitt <ryehle@us.ibm.com>2017-09-15 18:43:49 +0300
committerRobin Bobbitt <ryehle@us.ibm.com>2017-09-18 15:39:01 +0300
commit0013e6c00dc1743edb35b9b35a59c09fa0a0868e (patch)
tree056cb8b6e0666450019460e8dfd334300a776397 /spec/initializers
parentef37de8adb4e846db5bf7816e3f55f43b1305a03 (diff)
Clean up read_registry scope changes
Closes #37789
Diffstat (limited to 'spec/initializers')
-rw-r--r--spec/initializers/doorkeeper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/initializers/doorkeeper_spec.rb b/spec/initializers/doorkeeper_spec.rb
index 37cc08b3038..1a78196e33d 100644
--- a/spec/initializers/doorkeeper_spec.rb
+++ b/spec/initializers/doorkeeper_spec.rb
@@ -9,8 +9,8 @@ describe Doorkeeper.configuration do
end
describe '#optional_scopes' do
- it 'matches Gitlab::Auth::OPTIONAL_SCOPES' do
- expect(subject.optional_scopes).to eq Gitlab::Auth::OPTIONAL_SCOPES - Gitlab::Auth::REGISTRY_SCOPES
+ it 'matches Gitlab::Auth.optional_scopes' do
+ expect(subject.optional_scopes).to eq Gitlab::Auth.optional_scopes - Gitlab::Auth::REGISTRY_SCOPES
end
end