summaryrefslogtreecommitdiff
path: root/t/test-ldap-probe.rb
diff options
context:
space:
mode:
Diffstat (limited to 't/test-ldap-probe.rb')
-rwxr-xr-xt/test-ldap-probe.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-ldap-probe.rb b/t/test-ldap-probe.rb
index 9e537ac..6564d93 100755
--- a/t/test-ldap-probe.rb
+++ b/t/test-ldap-probe.rb
@@ -32,7 +32,7 @@ class TestLDAPProbe < Test::Unit::TestCase
test = Custodian::TestFactory.create("auth.bytemark.co.uk must run ldap on 389 with username 'testing' with password 'bob' otherwise 'LDAP dead?'.")
end
- assert(test.kind_of? Array)
+ assert(test.kind_of?(Array))
assert(!test.empty?)
assert_equal(test[0].get_type, 'ldap')
end
@@ -59,7 +59,7 @@ class TestLDAPProbe < Test::Unit::TestCase
assert_raise ArgumentError do
test = Custodian::TestFactory.create(str)
- assert(test.kind_of? Array)
+ assert(test.kind_of?(Array))
assert(!test.empty?)
end