diff options
author | GotenXiao <me@gotenxiao.co.uk> | 2019-02-06 19:48:36 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-02-06 19:48:36 +0300 |
commit | 7a1c810dc90080531e90cec68da37173988a2ec5 (patch) | |
tree | c5f2a6ea3da80e7aa00b49e62404862c5c97d79d /spec/lib/gitlab/auth_spec.rb | |
parent | 20c83bbdb0a9729a308957397b37a2569486116f (diff) |
Fix #44332 - Add support for profile and email
Diffstat (limited to 'spec/lib/gitlab/auth_spec.rb')
-rw-r--r-- | spec/lib/gitlab/auth_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/auth_spec.rb b/spec/lib/gitlab/auth_spec.rb index 236808c0b69..a4a6338961e 100644 --- a/spec/lib/gitlab/auth_spec.rb +++ b/spec/lib/gitlab/auth_spec.rb @@ -19,7 +19,7 @@ describe Gitlab::Auth do it 'optional_scopes contains all non-default scopes' do stub_container_registry_config(enabled: true) - expect(subject.optional_scopes).to eq %i[read_user sudo read_repository read_registry openid] + expect(subject.optional_scopes).to eq %i[read_user sudo read_repository read_registry openid profile email] end context 'registry_scopes' do |