BigW Consortium Gitlab

cluster_queue_spec.rb 290 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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