remove space inside array brackets from test/unit/mailer_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20629 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-12-11 14:18:26 +00:00
parent ae47da64fc
commit 19224b8e85

View File

@@ -622,7 +622,7 @@ class MailerTest < ActiveSupport::TestCase
end end
def test_version_file_added 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 Mailer.deliver_attachments_added(attachements)
assert_not_nil last_email.bcc assert_not_nil last_email.bcc
assert last_email.bcc.any? assert last_email.bcc.any?
@@ -632,7 +632,7 @@ class MailerTest < ActiveSupport::TestCase
end end
def test_project_file_added 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 Mailer.deliver_attachments_added(attachements)
assert_not_nil last_email.bcc assert_not_nil last_email.bcc
assert last_email.bcc.any? assert last_email.bcc.any?