gitlab-org--gitlab-foss/spec/workers/concerns/cluster_queue_spec.rb

16 lines
290 B
Ruby
Raw Normal View History

require 'spec_helper'
describe ClusterQueue do
let(:worker) do
Class.new do
include Sidekiq::Worker
include ClusterQueue
end
end
it 'sets a default pipelines queue automatically' do
expect(worker.sidekiq_options['queue'])
.to eq :gcp_cluster
end
end