disable async jobs in test env by default

pull/1133/head
Martin Linkhorst 11 years ago
parent 061721175d
commit 982d164316
  1. 3
      config/initializers/delayed_job_config.rb

@ -28,3 +28,6 @@
#++
Delayed::Worker.logger = Rails.logger
# By default bypass worker queue and execute asynchronous tasks at once
Delayed::Worker.delay_jobs = !Rails.env.test?

Loading…
Cancel
Save