summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-10-03 13:56:51 -0700
committerMichael Kozono <mkozono@gmail.com>2017-10-07 10:28:13 -0700
commited07faf2847f5adaebbd65d81d423fd249f9b542 (patch)
tree58b6812027b30d4d65d978552c3f23379cda106f
parent689eea5a43a79cd7fcbb8d579abaf37a81fc267a (diff)
downloadgitlab-ce-ed07faf2847f5adaebbd65d81d423fd249f9b542.tar.gz
Remove telephoneNumber format comment
Since that behavior changed, and is now under the malformed DN context.
-rw-r--r--spec/lib/gitlab/ldap/dn_spec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/lib/gitlab/ldap/dn_spec.rb b/spec/lib/gitlab/ldap/dn_spec.rb
index 9a8ef7721ef..725a1324109 100644
--- a/spec/lib/gitlab/ldap/dn_spec.rb
+++ b/spec/lib/gitlab/ldap/dn_spec.rb
@@ -6,12 +6,6 @@ describe Gitlab::LDAP::DN do
describe '#to_normalized_s' do
subject { described_class.new(given).to_normalized_s }
- # Regarding the telephoneNumber test:
- #
- # I am not sure whether a space after the telephoneNumber plus sign is valid,
- # and I am not sure if this is "proper" behavior under these conditions, and
- # I am not sure if it matters to us or anyone else, so rather than dig
- # through RFCs, I am only documenting the behavior here.
where(:test_description, :given, :expected) do
'strips extraneous whitespace' | 'uid =John Smith , ou = People, dc= example,dc =com' | 'uid=john smith,ou=people,dc=example,dc=com'
'strips extraneous whitespace for a DN with a single RDN' | 'uid = John Smith' | 'uid=john smith'