diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-21 13:49:57 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-08-21 13:49:57 +0200 |
commit | 48776f2786d22cecab97417141d43060c6cdee26 (patch) | |
tree | 548fa53f25eff1a41267bc2eae61434309ede3b3 /spec | |
parent | ce274fd61bbe11c7a1353bff2176273e9b30e197 (diff) | |
download | gitlab-ce-48776f2786d22cecab97417141d43060c6cdee26.tar.gz |
Simplify pipeline sidekiq queues naming scheme
Diffstat (limited to 'spec')
-rw-r--r-- | spec/workers/concerns/pipeline_queue_spec.rb | 8 |
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 |