FIX: Code and Emoticon formatting in HTML emails.

This commit is contained in:
Robin Ward
2013-11-28 17:20:56 -05:00
parent 4ec0543362
commit 8c8645f158
11 changed files with 100 additions and 43 deletions

View File

@ -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