mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 17:56:03 +01:00
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:
@@ -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?
|
||||||
|
|||||||
Reference in New Issue
Block a user