mirror of
https://github.com/redmine/redmine.git
synced 2024-07-23 21:54:59 +02:00
add test of issue id in sending mail when issue is created by mail (#17078)
git-svn-id: http://svn.redmine.org/redmine/trunk@13195 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3209a01806
commit
95482a4fff
@ -67,6 +67,7 @@ class MailHandlerTest < ActiveSupport::TestCase
|
||||
# Email notification should be sent
|
||||
mail = ActionMailer::Base.deliveries.last
|
||||
assert_not_nil mail
|
||||
assert mail.subject.include?("##{issue.id}")
|
||||
assert mail.subject.include?('New ticket on a given project')
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user