summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-06-30 08:03:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-06-30 08:03:27 +0000
commit95482a4fff1649c73dcfcc87e71dd7361acf8038 (patch)
tree19a1519713239bd2be7af912f8d9c3474f506e83
parent3209a0180603bc4f457eaa65fe5420ef24254bdb (diff)
downloadredmine-95482a4fff1649c73dcfcc87e71dd7361acf8038.tar.gz
redmine-95482a4fff1649c73dcfcc87e71dd7361acf8038.zip
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
-rw-r--r--test/unit/mail_handler_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb
index 96d16d845..317c3bcc2 100644
--- a/test/unit/mail_handler_test.rb
+++ b/test/unit/mail_handler_test.rb
@@ -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