Fix the build.

This commit is contained in:
Guo Xiang Tan 2017-05-17 16:14:06 +08:00
parent be722543c1
commit 3df46833b3
1 changed files with 2 additions and 2 deletions

View File

@ -405,8 +405,8 @@ describe UserNotifications do
# WARNING: you reached the limit of 100 email notifications per day. Further emails will be suppressed.
# Consider watching less topics or disabling mailing list mode.
expect(mail.html_part.to_s).to match("WARNING: ")
expect(mail.body.to_s).to match("WARNING: ")
expect(mail.html_part.to_s).to match("To protect your inbox")
expect(mail.body.to_s).to match("To protect your inbox")
end
def expects_build_with(condition)