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