Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Aug 29, 2014
1 parent 055fdfd commit 7b19f1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_retry.rb
@@ -1,3 +1,4 @@
# encoding: utf-8
require 'helper'
require 'sidekiq/scheduled'
require 'sidekiq/middleware/server/retry_jobs'
Expand Down Expand Up @@ -51,6 +52,7 @@ def @redis.multi; yield self; end
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
Expand Down

0 comments on commit 7b19f1e

Please sign in to comment.