1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib/sidekiq/testing.rb
Mike Perham f89eedf326 Add new sidekiq/testing feature.
This makes job processing synchronous when required.
2012-02-09 21:46:44 -08:00

9 lines
146 B
Ruby

module Sidekiq
module Worker
module ClassMethods
def perform_async(*args)
self.new.perform(*args)
end
end
end
end