Sha256: abaa092dc3a80f097a0363b5f6f6ce8dc8927d5c245a99fa3710f260eb43d4c8

Contents?: true

Size: 1.29 KB

Versions: 42

Compression:

Stored size: 1.29 KB

Contents

Feature: sending e-mail from controllers with MessengerHelper

  Scenario: immediate send
    Given I am in the MailTestController controller
    And the configuration setting "messenger.send_immediate" is "true"
    When I send the "simple" template from the controller
    Then the "simple" e-mail should be sent
    
  Scenario: queued send
    Given I am in the MailTestController controller
    And the configuration setting "messenger.send_immediate" is "false"
    When I send the "simple" template from the controller 
    Then the "simple" e-mail should be queued
    And no e-mail should be sent
    
  Scenario: erb templates
    Given I am in the MailTestController controller
    When I set the scene variable "test_var" to "test_value"
    And I send the "vars" template from the controller
    And I process the "e-mail" queue
    Then the "vars" e-mail should be sent
    And the sent e-mail text should contain "test_var = test_value"
    
  Scenario: html e-mail
    Given I am in the MailTestController controller
    When I send the "multipart" template from the controller
    And I process the "e-mail" queue
    Then the "multipart" e-mail should be sent
    And the sent e-mail should be multipart
    And the sent e-mail should have a text part
    And the sent e-mail should have an html part

Version data entries

42 entries across 42 versions & 1 rubygems

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