diff options
author | Robin Bobbitt <ryehle@us.ibm.com> | 2017-09-15 11:43:49 -0400 |
---|---|---|
committer | Robin Bobbitt <ryehle@us.ibm.com> | 2017-09-18 08:39:01 -0400 |
commit | 0013e6c00dc1743edb35b9b35a59c09fa0a0868e (patch) | |
tree | 056cb8b6e0666450019460e8dfd334300a776397 /spec/initializers | |
parent | ef37de8adb4e846db5bf7816e3f55f43b1305a03 (diff) | |
download | gitlab-ce-0013e6c00dc1743edb35b9b35a59c09fa0a0868e.tar.gz |
Clean up read_registry scope changes
Closes #37789
Diffstat (limited to 'spec/initializers')
-rw-r--r-- | spec/initializers/doorkeeper_spec.rb | 4 |
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 |