From 8d5485569705d7380c921e65fa99b728bff20010 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Wed, 13 Feb 2013 10:30:49 +0000 Subject: Updated. --- lib/custodian/protocoltest/ldap.rb | 1 - t/test-ldap-probe.t | 7 ++++--- 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 -- cgit v1.2.1