diff --git a/lib/sidekiq/testing.rb b/lib/sidekiq/testing.rb index 10e9e758..8f0e38e3 100644 --- a/lib/sidekiq/testing.rb +++ b/lib/sidekiq/testing.rb @@ -92,8 +92,7 @@ module Sidekiq # Pop out a single job and perform it def perform_one - raise(EmptyQueueError, - "perform_one called with empty job queue") unless jobs.size > 0 + raise(EmptyQueueError, "perform_one called with empty job queue") unless jobs.size > 0 job = jobs.shift new.perform(*job['args']) end