mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Fix for running client test standalone
This commit is contained in:
parent
20cdf68a73
commit
70604138a6
1 changed files with 1 additions and 0 deletions
|
@ -280,6 +280,7 @@ describe Sidekiq::Client do
|
|||
end
|
||||
|
||||
it "can push jobs scheduled using ActiveSupport::Duration" do
|
||||
require 'active_support/core_ext/integer/time'
|
||||
jids = Sidekiq::Client.push_bulk("class" => QueuedWorker, "args" => [[1], [2]], "at" => [1.seconds, 111.seconds])
|
||||
assert_equal 2, jids.size
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue