diff options
Diffstat (limited to 'spec/lib/gitlab/auth/ldap/person_spec.rb')
-rw-r--r-- | spec/lib/gitlab/auth/ldap/person_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/lib/gitlab/auth/ldap/person_spec.rb b/spec/lib/gitlab/auth/ldap/person_spec.rb index 6857b561370..f8268bb1666 100644 --- a/spec/lib/gitlab/auth/ldap/person_spec.rb +++ b/spec/lib/gitlab/auth/ldap/person_spec.rb @@ -10,10 +10,10 @@ RSpec.describe Gitlab::Auth::Ldap::Person do before do stub_ldap_config( options: { - 'uid' => 'uid', + 'uid' => 'uid', 'attributes' => { - 'name' => 'cn', - 'email' => %w(mail email userPrincipalName), + 'name' => 'cn', + 'email' => %w(mail email userPrincipalName), 'username' => username_attribute } } @@ -53,10 +53,10 @@ RSpec.describe Gitlab::Auth::Ldap::Person do it 'returns a compact and unique array' do stub_ldap_config( options: { - 'uid' => nil, + 'uid' => nil, 'attributes' => { - 'name' => 'cn', - 'email' => 'mail', + 'name' => 'cn', + 'email' => 'mail', 'username' => %w(uid mail), 'first_name' => '' } |