summaryrefslogtreecommitdiff
path: root/t/test-ldap-probe.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-04-22 22:05:25 +0300
committerSteve Kemp <steve@steve.org.uk>2016-04-22 22:05:25 +0300
commit9366c1eda2967d6931efd6e73134dc79fb8a5cd2 (patch)
tree3498a027feacef099a824d91e6fb4c51e46a5ddf /t/test-ldap-probe.rb
parenta5ad0029b634a19d4d50e9f49c51903c2fa82208 (diff)
Updated to fix the last remaining rubocop warnings.
This involved silencing a few issues that were judged to be minor, and changing various whitespaces and function-calls. The most obvious example was changing this: assert(ret.kind_of? Array) To this: assert(ret.kind_of?(Array))
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