d6b952ad3e
Adds `# frozen_string_literal: true` to spec/workers ruby files
21 lines
418 B
Ruby
21 lines
418 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe PipelineBackgroundQueue do
|
|
let(:worker) do
|
|
Class.new do
|
|
def self.name
|
|
'DummyWorker'
|
|
end
|
|
|
|
include ApplicationWorker
|
|
include PipelineBackgroundQueue
|
|
end
|
|
end
|
|
|
|
it 'sets a default object storage queue automatically' do
|
|
expect(worker.sidekiq_options['queue'])
|
|
.to eq 'pipeline_background:dummy'
|
|
end
|
|
end
|