summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2013-02-13 10:30:49 +0000
committerSteve Kemp <steve@steve.org.uk>2013-02-13 10:30:49 +0000
commit8d5485569705d7380c921e65fa99b728bff20010 (patch)
tree6df73b9db85f088ad094933e83f0fe5f009a2349
parentf1d3022ed5e0f4471c6bc5544c0fbad51f8b4fca (diff)
Updated.
-rw-r--r--lib/custodian/protocoltest/ldap.rb1
-rwxr-xr-xt/test-ldap-probe.t7
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/custodian/protocoltest/ldap.rb b/lib/custodian/protocoltest/ldap.rb
index 5d849c7..8ec42b6 100644
--- a/lib/custodian/protocoltest/ldap.rb
+++ b/lib/custodian/protocoltest/ldap.rb
@@ -54,7 +54,6 @@ module Custodian
raise ArgumentError, "No password specified: #{@line}"
end
-
#
# Is this test inverted?
#
diff --git a/t/test-ldap-probe.t b/t/test-ldap-probe.t
index 8a2b221..4e552b4 100755
--- a/t/test-ldap-probe.t
+++ b/t/test-ldap-probe.t
@@ -45,10 +45,11 @@ class TestLDAPProbe < Test::Unit::TestCase
#
# test data
#
- data = {
+ data = [
"foo.example.com must run ldap on 389.",
- "foo.example.com must run ldap with username 'test'."
- }
+ "foo.example.com must run ldap with username 'test'.",
+ "foo.example.com must run ldap with uername 'test' with password 'x'."
+ ]
#
# For each test