spec/support/mock_worker.rb in carrierwave_backgrounder-0.4.3 vs spec/support/mock_worker.rb in carrierwave_backgrounder-1.0.0.beta
- old
+ new
@@ -1,4 +1,6 @@
+require 'sidekiq'
+
class MockWorker < Struct.new(:klass, :id, :column)
def self.perform(*args)
new(*args).perform
end