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:
parent
b015ceea0b
commit
5681553ca0
1 changed files with 1 additions and 0 deletions
1
config/initializers/resque.rb
Normal file
1
config/initializers/resque.rb
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Resque.inline = Rails.env.test?
|
Loading…
Reference in a new issue