Sha256: 438823a10437f188f5a77339df0c2e8f5215b701e5e592fa96c9f86365b3458b

Contents?: true

Size: 1.46 KB

Versions: 9

Compression:

Stored size: 1.46 KB

Contents

Feature: Mailable Registration
	In order to have different things to email
	As an object
	I want be able to register as a mailable object
	
  @wip	
  Scenario: reusable mailables will be available when I create a new mailing
	  Given the following mlm mailable records
	    | name            | email_html                                                              | email_text      | reusable |
	    | June Newsletter | <head><title>June Newsletter</title><body>June Newsletter</body></html> | June Newsletter | true     |
	    | July Newsletter | <head><title>July Newsletter</title><body>July Newsletter</body></html> | July Newsletter | false    |
	  And an mlm mailing list exists with name: "Newsletter"
	  When I go to the new mlm mailing page
	  Then I should see "June Newsletter"
	  And I should not see "July Newsletter"
	  
  @wip
	Scenario: a new raw mailable can be created when creating a new mailing
	  When I go to the new mlm mailing page 
	  And I select "New Mailable" from "mailing[mailable]"
	  And I fill in "mailable[name]" with "July Newsletter"
    And I fill in "mailable[email_html]" with "<head><title>June Newsletter</title><body>July Newsletter</body></html>"
    And I fill in "mailable[email_text]" with "July Newsletter"
    And I check "mailable[reusable]"
    Then an mlm mailable should exist with name: "July Newsletter", email_html: "<head><title>June Newsletter</title><body>July Newsletter</body></html>", email_text: "July Newsletter", reusable: true

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mail_manager-3.2.25.1 spec/test_app/features/mailable.feature
mail_manager-3.2.22.0 spec/test_app/features/mailable.feature
mail_manager-3.2.7 spec/test_app/features/mailable.feature
mail_manager-3.2.6 spec/test_app/features/mailable.feature
mail_manager-3.2.5 spec/test_app/features/mailable.feature
mail_manager-3.2.4 spec/test_app/features/mailable.feature
mail_manager-3.2.2 spec/test_app/features/mailable.feature
mail_manager-3.2.1 spec/test_app/features/mailable.feature
mail_manager-3.2.0 spec/test_app/features/mailable.feature