1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix tests

This commit is contained in:
Abdelkader Boudih 2014-08-29 12:52:27 +00:00
parent 055fdfd894
commit 7b19f1e616

View file

@ -1,3 +1,4 @@
# encoding: utf-8
require 'helper'
require 'sidekiq/scheduled'
require 'sidekiq/middleware/server/retry_jobs'
@ -51,6 +52,7 @@ class TestRetry < Sidekiq::Test
end
it 'handles zany characters in error message, #1705' do
skip 'skipped! test requires ruby 2.1+' if RUBY_VERSION <= '2.1.0'
@redis.expect :zadd, 1, ['retry', String, String]
msg = { 'class' => 'Bob', 'args' => [1,2,'foo'], 'retry' => 2 }
msg2 = msg.dup