]> source.dussan.org Git - redmine.git/commitdiff
remove space inside array brackets from test/unit/mailer_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 11 Dec 2020 14:18:26 +0000 (14:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 11 Dec 2020 14:18:26 +0000 (14:18 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20629 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/mailer_test.rb

index 874f05281d9a8a0c348c074be18fab32a0d81616..7c867e098a8dc5e5ceed61747c66591abf38a5e7 100644 (file)
@@ -622,7 +622,7 @@ class MailerTest < ActiveSupport::TestCase
   end
 
   def test_version_file_added
-    attachements = [ Attachment.find_by_container_type('Version') ]
+    attachements = [Attachment.find_by_container_type('Version')]
     assert Mailer.deliver_attachments_added(attachements)
     assert_not_nil last_email.bcc
     assert last_email.bcc.any?
@@ -632,7 +632,7 @@ class MailerTest < ActiveSupport::TestCase
   end
 
   def test_project_file_added
-    attachements = [ Attachment.find_by_container_type('Project') ]
+    attachements = [Attachment.find_by_container_type('Project')]
     assert Mailer.deliver_attachments_added(attachements)
     assert_not_nil last_email.bcc
     assert last_email.bcc.any?