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