mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: include topic title and domain name in topic invite mail
This commit is contained in:
@@ -42,6 +42,14 @@ describe InviteMailer do
|
||||
expect(invite_mail.subject).to be_present
|
||||
end
|
||||
|
||||
it 'renders topic title in subject' do
|
||||
expect(invite_mail.subject).to match(topic.title)
|
||||
end
|
||||
|
||||
it 'renders site domain name in subject' do
|
||||
expect(invite_mail.subject).to match(Discourse.current_hostname)
|
||||
end
|
||||
|
||||
it 'renders the body' do
|
||||
expect(invite_mail.body).to be_present
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user