diff options
author | Stan Hu <stanhu@gmail.com> | 2018-02-13 22:08:47 +0300 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2018-02-14 14:50:01 +0300 |
commit | ed9f6c845911eacba1b74f61df319eef76e3b701 (patch) | |
tree | c71f07751b0c65c1deb481e71bff475ee93cbf63 /spec | |
parent | 6f92957248ee6a54b4eabca06ded6685f8511dd2 (diff) |
Merge branch 'remove_ldap_person_validation' into 'master'
Remove problematic LDAP::Person validation for new strategy
Closes #42412 and #42359
See merge request gitlab-org/gitlab-ce!16727
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/ldap/person_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/lib/gitlab/ldap/person_spec.rb b/spec/lib/gitlab/ldap/person_spec.rb index b54d4000b53..05e1e394bb1 100644 --- a/spec/lib/gitlab/ldap/person_spec.rb +++ b/spec/lib/gitlab/ldap/person_spec.rb @@ -66,15 +66,6 @@ describe Gitlab::LDAP::Person do end end - describe '.validate_entry' do - it 'raises InvalidEntryError' do - entry['foo'] = 'bar' - - expect { described_class.new(entry, 'ldapmain') } - .to raise_error(Gitlab::LDAP::Person::InvalidEntryError) - end - end - describe '#name' do it 'uses the configured name attribute and handles values as an array' do name = 'John Doe' |