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

Version Path
spiderfw-0.6.21 apps/messenger/test/features/attachments.feature
spiderfw-0.6.20 apps/messenger/test/features/attachments.feature
spiderfw-0.6.19 apps/messenger/test/features/attachments.feature
spiderfw-0.6.18 apps/messenger/test/features/attachments.feature
spiderfw-0.6.17 apps/messenger/test/features/attachments.feature
spiderfw-0.6.16 apps/messenger/test/features/attachments.feature
spiderfw-0.6.15 apps/messenger/test/features/attachments.feature
spiderfw-0.6.14 apps/messenger/test/features/attachments.feature
spiderfw-0.6.13 apps/messenger/test/features/attachments.feature
spiderfw-0.6.12 apps/messenger/test/features/attachments.feature
spiderfw-0.6.11 apps/messenger/test/features/attachments.feature
spiderfw-0.6.10 apps/messenger/test/features/attachments.feature
spiderfw-0.6.9 apps/messenger/test/features/attachments.feature
spiderfw-0.6.8 apps/messenger/test/features/attachments.feature
spiderfw-0.6.7 apps/messenger/test/features/attachments.feature
spiderfw-0.6.6 apps/messenger/test/features/attachments.feature
spiderfw-0.6.5 apps/messenger/test/features/attachments.feature
spiderfw-0.6.4 apps/messenger/test/features/attachments.feature
spiderfw-0.6.3 apps/messenger/test/features/attachments.feature
spiderfw-0.6.2 apps/messenger/test/features/attachments.feature