add space after comma to MailHandlerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@19962 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-08-09 15:56:23 +00:00
parent b5680f4456
commit c77b108279

View File

@@ -262,7 +262,7 @@ class MailHandlerTest < ActiveSupport::TestCase
field = IssueCustomField.create!(:name => 'Affected version',
:field_format => 'version',
:is_for_all => true,
:tracker_ids => [1,2,3])
:tracker_ids => [1, 2, 3])
issue = submit_email('ticket_with_custom_fields.eml',
:issue => {:project => 'ecookbook'},
:allow_override => ['affected version']
@@ -1187,7 +1187,7 @@ class MailHandlerTest < ActiveSupport::TestCase
def test_email_with_long_subject_line
issue = submit_email('ticket_with_long_subject.eml')
assert issue.is_a?(Issue)
assert_equal issue.subject, 'New ticket on a given project with a very long subject line which exceeds 255 chars and should not be ignored but chopped off. And if the subject line is still not long enough, we just add more text. And more text. Wow, this is really annoying. Especially, if you have nothing to say...'[0,255]
assert_equal issue.subject, 'New ticket on a given project with a very long subject line which exceeds 255 chars and should not be ignored but chopped off. And if the subject line is still not long enough, we just add more text. And more text. Wow, this is really annoying. Especially, if you have nothing to say...'[0, 255]
end
def test_first_keyword_should_be_matched