Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (12 sloc) 0.493 kB
require 'helper'
require 'sidekiq/fetch'
class TestFetcher < MiniTest::Unit::TestCase
describe 'Fetcher#queues_cmd' do
describe 'when queues are strictly ordered' do
it 'returns the unique ordered queues properly based on priority and order they were passed in' do
fetcher = Sidekiq::Fetcher.new nil, %w[high medium low default], true
assert_equal (%w[queue:high queue:medium queue:low queue:default] << 1), fetcher._send_(:queues_cmd)
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.