Improve invite email copy

This commit is contained in:
Arpit Jalan
2014-07-10 10:57:40 +05:30
parent 103e2ebba9
commit 2f6c984c8c
3 changed files with 13 additions and 8 deletions
+4
View File
@@ -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