spec/support/mock_worker.rb in carrierwave_backgrounder-0.4.1 vs spec/support/mock_worker.rb in carrierwave_backgrounder-0.4.2
- old
+ new
@@ -13,5 +13,10 @@
end
class MockSidekiqWorker < MockWorker
include Sidekiq::Worker
end
+
+class MockNamedSidekiqWorker < MockWorker
+ include Sidekiq::Worker
+ sidekiq_options queue: :even_better_name
+end