##// END OF EJS Templates
add test of issue id in sending mail when issue is created by mail (#17078)...
Toshi MARUYAMA -
r12920:95482a4fff16
parent child
Show More
@@ -67,6 +67,7 class MailHandlerTest < ActiveSupport::TestCase
67 # Email notification should be sent
67 # Email notification should be sent
68 mail = ActionMailer::Base.deliveries.last
68 mail = ActionMailer::Base.deliveries.last
69 assert_not_nil mail
69 assert_not_nil mail
70 assert mail.subject.include?("##{issue.id}")
70 assert mail.subject.include?('New ticket on a given project')
71 assert mail.subject.include?('New ticket on a given project')
71 end
72 end
72
73
General Comments 0
You need to be logged in to leave comments. Login now