require'spec_helper'describeDedicatedSidekiqQueuedolet(:worker)doClass.newdodefself.name'Foo::Bar::DummyWorker'endincludeSidekiq::WorkerincludeDedicatedSidekiqQueueendenddescribe'queue names'doit'sets the queue name based on the class name'doexpect(worker.sidekiq_options['queue']).toeq('foo_bar_dummy')endendend