Send emails via sidekiq (#380)
* add sidekiq web view if the user is an administrator * add sidekiq setup configuration and support * update devise to use delivery_later method and update test * update conversation to use deliver_later instead of deliver * Update Routes * Add Procfile for Heroku One-Click Start * updating docs * update concurrency and Procfile for supporting Heroku Free Dyno * update Procfile.dev
This commit is contained in:
@@ -6,7 +6,7 @@ RSpec.describe 'Confirmation Instructions', type: :mailer do
|
||||
describe :notify do
|
||||
let(:confirmable_user) { FactoryBot.build(:user, inviter: inviter_val) }
|
||||
let(:inviter_val) { nil }
|
||||
let(:mail) { confirmable_user.send_confirmation_instructions }
|
||||
let(:mail) { Devise::Mailer.confirmation_instructions(confirmable_user, nil, {}) }
|
||||
|
||||
it 'has the correct header data' do
|
||||
expect(mail.reply_to).to contain_exactly('accounts@chatwoot.com')
|
||||
|
||||
Reference in New Issue
Block a user