summaryrefslogtreecommitdiff
path: root/spec/workers/concerns/pipeline_queue_spec.rb
blob: 40794d0e42a8d9ea97f0bce3f92415ad7c7743b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'spec_helper'

describe PipelineQueue do
  let(:worker) do
    Class.new do
      include Sidekiq::Worker
      include PipelineQueue
    end
  end

  it 'sets the queue name of a worker' do
    expect(worker.sidekiq_options['queue'].to_s).to eq('pipeline')
  end
end