mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fix tests
This commit is contained in:
parent
055fdfd894
commit
7b19f1e616
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue