summaryrefslogtreecommitdiff
path: root/spec/initializers
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2017-09-13 09:06:18 +0000
committerRémy Coutable <remy@rymai.me>2017-09-13 09:06:18 +0000
commit1e6d305bcc922d3c277997099cab789b5743315a (patch)
tree4bd63c32dc3cc2592e97c4b542f61d20db653c66 /spec/initializers
parentda4ca9f44caaa3876d2b6d2021366d2d0e035241 (diff)
downloadgitlab-ce-1e6d305bcc922d3c277997099cab789b5743315a.tar.gz
Fix doorkeeper failure
Diffstat (limited to 'spec/initializers')
-rw-r--r--spec/initializers/doorkeeper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/initializers/doorkeeper_spec.rb b/spec/initializers/doorkeeper_spec.rb
index 74bdbb01166..37cc08b3038 100644
--- a/spec/initializers/doorkeeper_spec.rb
+++ b/spec/initializers/doorkeeper_spec.rb
@@ -10,7 +10,7 @@ describe Doorkeeper.configuration do
describe '#optional_scopes' do
it 'matches Gitlab::Auth::OPTIONAL_SCOPES' do
- expect(subject.optional_scopes).to eq Gitlab::Auth::OPTIONAL_SCOPES
+ expect(subject.optional_scopes).to eq Gitlab::Auth::OPTIONAL_SCOPES - Gitlab::Auth::REGISTRY_SCOPES
end
end