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.
This commit is contained in:
Benjamin Meichsner 2013-09-18 18:04:40 +02:00
parent b015ceea0b
commit 5681553ca0
1 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1 @@
Resque.inline = Rails.env.test?