mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
Improve invite email copy
This commit is contained in:
@@ -16,6 +16,10 @@ describe InviteMailer do
|
||||
expect(invite_mail.subject).to be_present
|
||||
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