Sha256: 9aa482cd4c1a7964adcfcd5dc1c42a8ab510ea87804d88ff7dc4309df70a1f66
Contents?: true
Size: 1.12 KB
Versions: 42
Compression:
Stored size: 1.12 KB
Contents
Feature: attachments from messenger helper Scenario: basic attachment Given I am in the MailTestController controller When I add the following attachments to the controller: | test_file1.txt | And I send the "simple" template from the controller And I process the "e-mail" queue Then the "simple" e-mail should be sent And the sent e-mail should have "1" attachment And the sent e-mail "1st" attachment filename should be "test_file1.txt" And the sent e-mail "1st" attachment mime type should be "text/plain" Scenario: overriding attachment properties Given I am in the MailTestController controller When I add the following attachments to the controller: | path | mime_type | filename | | test_file1.txt | image/jpg | file.png | And I send the "simple" template from the controller And I process the "e-mail" queue Then the "simple" e-mail should be sent And the sent e-mail should have "1" attachment And the sent e-mail "1st" attachment filename should be "file.png" And the sent e-mail "1st" attachment mime type should be "image/jpg"
Version data entries
42 entries across 42 versions & 1 rubygems