summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-08-22 11:34:29 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-08-22 11:34:29 +0200
commitc29247aadf97e17647d1c44d4aa2646cca6dcebc (patch)
tree0634ada8fdf84881307ec48d7961a2be5c42f3fc
parentbeb8f46e946f217f6132670c16d118f973012a48 (diff)
downloadgitlab-ce-c29247aadf97e17647d1c44d4aa2646cca6dcebc.tar.gz
Fix inconsistent Sidekiq queues names in worker specs
-rw-r--r--spec/support/shared_examples/sidekiq_worker_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared_examples/sidekiq_worker_shared_examples.rb b/spec/support/shared_examples/sidekiq_worker_shared_examples.rb
index 712cad2a0d9..4ff267a7838 100644
--- a/spec/support/shared_examples/sidekiq_worker_shared_examples.rb
+++ b/spec/support/shared_examples/sidekiq_worker_shared_examples.rb
@@ -5,6 +5,6 @@ shared_examples 'sidekiq worker' do
end
it 'is going to be processed inside a known sidekiq queue' do
- expect(described_class.sidekiq_options['queue']).to be_in queues
+ expect(described_class.sidekiq_options['queue'].to_s).to be_in queues
end
end