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
commit782ab30dee662bd24b008c2b8af25bd6e677c345 (patch)
treeed45eac9f18a495ebde49d196889d26d06eaebac
parent72fdb56b946b564b736be4e5f7702d1b96c8a8ed (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