fix: Update from_email in the name to fix the syntax error (#6900)

This commit is contained in:
Tejaswini Chile
2023-04-13 23:12:38 +05:30
committed by GitHub
parent 9ca21df9fd
commit 2b736f4698
3 changed files with 4 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ RSpec.describe ConversationReplyMailer, type: :mailer do
it 'renders assignee name in the from address' do
mail = described_class.email_reply(message)
expect(mail['from'].value).to eq "#{conversation.assignee.available_name} from #{smtp_email_channel.inbox.name}"
expect(mail['from'].value).to eq "#{conversation.assignee.available_name} from #{smtp_email_channel.inbox.name} <#{smtp_email_channel.email}>"
end
it 'renders inbox name in the from address' do