diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-08-09 15:56:31 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-08-09 15:56:31 +0000 |
commit | f435e1993d48c3bdc45093b3771829e7f55a15e5 (patch) | |
tree | 60d7bc45285690300bf260ac49d5e0c0a256249e | |
parent | c77b108279fdee00f45863c4e95f7d0d28a785bf (diff) | |
download | redmine-f435e1993d48c3bdc45093b3771829e7f55a15e5.tar.gz redmine-f435e1993d48c3bdc45093b3771829e7f55a15e5.zip |
remove spaces inside {} of MailHandlerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@19963 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/unit/mail_handler_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index 6b9d3849d..1672edccb 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -613,7 +613,7 @@ class MailHandlerTest < ActiveSupport::TestCase assert_equal 1, issue.attachments.size u = +'' u1 = 'ÄäÖöÜü' - 11.times { u << u1 } + 11.times {u << u1} attachment = issue.attachments.first assert_equal "#{u}.png", attachment.filename assert_equal 130, attachment.filesize @@ -632,7 +632,7 @@ class MailHandlerTest < ActiveSupport::TestCase assert_equal 1, issue.attachments.size u = +'' u1 = 'ÄäÖöÜü' - 11.times { u << u1 } + 11.times {u << u1} attachment = issue.attachments.first assert_equal "#{u}.txt", attachment.filename assert_equal 5, attachment.filesize @@ -661,7 +661,7 @@ class MailHandlerTest < ActiveSupport::TestCase def test_empty_attachment_should_not_be_imported issue = submit_email( 'ticket_with_empty_attachment.eml', - issue: { project: 'ecookbook' } + :issue => {:project => 'ecookbook'} ) assert_equal 0, issue.attachments.size end |