diff options
Diffstat (limited to 'spec/lib/gitlab/auth/ldap/auth_hash_spec.rb')
-rw-r--r-- | spec/lib/gitlab/auth/ldap/auth_hash_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/lib/gitlab/auth/ldap/auth_hash_spec.rb b/spec/lib/gitlab/auth/ldap/auth_hash_spec.rb index 9dff7f7b3dc..e8008aeaf57 100644 --- a/spec/lib/gitlab/auth/ldap/auth_hash_spec.rb +++ b/spec/lib/gitlab/auth/ldap/auth_hash_spec.rb @@ -20,17 +20,17 @@ RSpec.describe Gitlab::Auth::Ldap::AuthHash do let(:info) do { - name: 'Smith, J.', - email: 'johnsmith@example.com', + name: 'Smith, J.', + email: 'johnsmith@example.com', nickname: '123456' } end let(:raw_info) do { - uid: ['123456'], - email: ['johnsmith@example.com'], - cn: ['Smith, J.'], + uid: ['123456'], + email: ['johnsmith@example.com'], + cn: ['Smith, J.'], fullName: ['John Smith'] } end @@ -52,8 +52,8 @@ RSpec.describe Gitlab::Auth::Ldap::AuthHash do let(:attributes) do { - 'username' => %w(mail email), - 'name' => 'fullName' + 'username' => %w(mail email), + 'name' => 'fullName' } end |