foodsoft/config/initializers/resque.rb
Benjamin Meichsner 5681553ca0 Avoid connecting to redis backend in test environment.
This makes it also possible to test if certain background task are doing what they should do.
2013-09-18 18:04:40 +02:00

1 line
32 B
Ruby

Resque.inline = Rails.env.test?