summaryrefslogtreecommitdiff
path: root/t/test-custodian-queue.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-custodian-queue.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-custodian-queue.rb')
-rwxr-xr-xt/test-custodian-queue.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/test-custodian-queue.rb b/t/test-custodian-queue.rb
index c25fc24..626eb8b 100755
--- a/t/test-custodian-queue.rb
+++ b/t/test-custodian-queue.rb
@@ -21,9 +21,9 @@ class TestCustodianQueue < Test::Unit::TestCase
def setup
unless defined? ::Redis
if methods.include? :skip
- skip("Redis library missing -- skipping tests")
+ skip('Redis library missing -- skipping tests')
else
- omit("Redis library missing -- skipping tests")
+ omit('Redis library missing -- skipping tests')
end
end
end
@@ -45,7 +45,7 @@ class TestCustodianQueue < Test::Unit::TestCase
q = nil
assert_nothing_raised do
- q = Custodian::RedisQueueType.new()
+ q = Custodian::RedisQueueType.new
end
#