disables asynchronous sending of devise emails in test env
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
Devise::Async.setup do |config|
|
||||
config.enabled = true
|
||||
if Rails.env.test?
|
||||
config.enabled = false
|
||||
else
|
||||
config.enabled = true
|
||||
end
|
||||
config.backend = :delayed_job
|
||||
end
|
||||
Reference in New Issue
Block a user