summaryrefslogtreecommitdiff
path: root/spec/workers/concerns
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-08-21 13:49:57 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-08-21 13:49:57 +0200
commit48776f2786d22cecab97417141d43060c6cdee26 (patch)
tree548fa53f25eff1a41267bc2eae61434309ede3b3 /spec/workers/concerns
parentce274fd61bbe11c7a1353bff2176273e9b30e197 (diff)
downloadgitlab-ce-48776f2786d22cecab97417141d43060c6cdee26.tar.gz
Simplify pipeline sidekiq queues naming scheme
Diffstat (limited to 'spec/workers/concerns')
-rw-r--r--spec/workers/concerns/pipeline_queue_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/workers/concerns/pipeline_queue_spec.rb b/spec/workers/concerns/pipeline_queue_spec.rb
index 3049f2b2ab4..eac5a770e5f 100644
--- a/spec/workers/concerns/pipeline_queue_spec.rb
+++ b/spec/workers/concerns/pipeline_queue_spec.rb
@@ -10,15 +10,15 @@ describe PipelineQueue do
it 'sets a default pipelines queue automatically' do
expect(worker.sidekiq_options['queue'])
- .to eq 'pipelines-default'
+ .to eq 'pipeline_default'
end
describe '.enqueue_in' do
- it 'sets a custom sidekiq queue with prefix, name and group' do
- worker.enqueue_in(queue: :build, group: :processing)
+ it 'sets a custom sidekiq queue with prefix and group' do
+ worker.enqueue_in(group: :processing)
expect(worker.sidekiq_options['queue'])
- .to eq 'pipelines-build-processing'
+ .to eq 'pipeline_processing'
end
end
end