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-1.0.1 apps/messenger/test/features/attachments.feature
spiderfw-1.0.0 apps/messenger/test/features/attachments.feature
spiderfw-0.6.39 apps/messenger/test/features/attachments.feature
spiderfw-0.6.38 apps/messenger/test/features/attachments.feature
spiderfw-0.6.37 apps/messenger/test/features/attachments.feature
spiderfw-0.6.35 apps/messenger/test/features/attachments.feature
spiderfw-0.6.34 apps/messenger/test/features/attachments.feature
spiderfw-0.6.33 apps/messenger/test/features/attachments.feature
spiderfw-0.6.32 apps/messenger/test/features/attachments.feature
spiderfw-0.6.31 apps/messenger/test/features/attachments.feature
spiderfw-0.6.30 apps/messenger/test/features/attachments.feature
spiderfw-0.6.29 apps/messenger/test/features/attachments.feature
spiderfw-0.6.28 apps/messenger/test/features/attachments.feature
spiderfw-0.6.27 apps/messenger/test/features/attachments.feature
spiderfw-0.6.26 apps/messenger/test/features/attachments.feature
spiderfw-0.6.26.pre1 apps/messenger/test/features/attachments.feature
spiderfw-0.6.25 apps/messenger/test/features/attachments.feature
spiderfw-0.6.24 apps/messenger/test/features/attachments.feature
spiderfw-0.6.23 apps/messenger/test/features/attachments.feature
spiderfw-0.6.22 apps/messenger/test/features/attachments.feature