mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:31:10 +08:00
FIX: Code and Emoticon formatting in HTML emails.
This commit is contained in:
@ -37,7 +37,15 @@ describe UserNotifications do
|
||||
its(:to) { should == [user.email] }
|
||||
its(:subject) { should be_present }
|
||||
its(:from) { should == [SiteSetting.notification_email] }
|
||||
its(:body) { should be_present }
|
||||
|
||||
it 'should have a html body' do
|
||||
subject.html_part.body.to_s.should be_present
|
||||
end
|
||||
|
||||
it 'should have a text body' do
|
||||
subject.html_part.body.to_s.should be_present
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user