summaryrefslogtreecommitdiff
path: root/spec/workers/concerns/repository_check_queue_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/concerns/repository_check_queue_spec.rb')
-rw-r--r--spec/workers/concerns/repository_check_queue_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/workers/concerns/repository_check_queue_spec.rb b/spec/workers/concerns/repository_check_queue_spec.rb
index 08ac73aac7b..ae377c09b37 100644
--- a/spec/workers/concerns/repository_check_queue_spec.rb
+++ b/spec/workers/concerns/repository_check_queue_spec.rb
@@ -14,6 +14,10 @@ RSpec.describe RepositoryCheckQueue do
end
end
+ it 'sets the queue name of a worker' do
+ expect(worker.sidekiq_options['queue'].to_s).to eq('repository_check:dummy')
+ end
+
it 'disables retrying of failed jobs' do
expect(worker.sidekiq_options['retry']).to eq(false)
end