summaryrefslogtreecommitdiffstats
path: root/test/unit/mail_handler_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/mail_handler_test.rb')
-rw-r--r--test/unit/mail_handler_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb
index 489106379..6b9d3849d 100644
--- a/test/unit/mail_handler_test.rb
+++ b/test/unit/mail_handler_test.rb
@@ -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