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?
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?