Sha256: 1fed97938745f8843937196517439bf80f1f4b694ac6219f99b3260532da430c

Contents?: true

Size: 1.12 KB

Versions: 22

Compression:

Stored size: 1.12 KB

Contents

Feature: Attachment testing support
  In order for developers to test attachments in emails
  I want to be able to provide working steps which inspect attachments

  Scenario: Email with Attachments
    Given no emails have been sent
    And I go to request attachments be sent to me
    Then I should receive an email
    When I open the email
    Then I should see 2 attachments with the email
    And there should be an attachment named "image.png"
    And there should be an attachment named "document.pdf"
    And attachment 1 should be named "image.png"
    And attachment 2 should be named "document.pdf"
    And there should be an attachment of type "image/png"
    And there should be an attachment of type "application/pdf"
    And attachment 1 should be of type "image/png"
    And attachment 2 should be of type "application/pdf"
    And all attachments should not be blank

  Scenario: Email without Attachments
    Given no emails have been sent
    And I am on the homepage
    And I submit my registration information
    Then I should receive an email
    When I open the email
    Then I should see no attachments with the email

Version data entries

22 entries across 21 versions & 4 rubygems

Version Path
email_spec-2.3.0 examples/rails4_root/features/attachments.feature
email_spec-2.2.2 examples/rails4_root/features/attachments.feature
email_spec-2.2.1 examples/rails4_root/features/attachments.feature
email_spec-2.2.0 examples/rails4_root/features/attachments.feature
email_spec-2.1.2 examples/rails4_root/features/attachments.feature
email_spec-2.1.1 examples/rails4_root/features/attachments.feature
email_spec-2.1.0 examples/rails4_root/features/attachments.feature
email_spec-2.0.0 examples/rails4_root/features/attachments.feature
email_spec-1.0.1 examples/rails3_root/features/attachments.feature
email_spec-1.2.1 examples/rails3_root/features/attachments.feature
email_spec-1.2.0 examples/rails3_root/features/attachments.feature
email_spec-0.6.6 examples/rails_root/features/attachments.feature
email_spec-0.6.5 examples/rails_root/features/attachments.feature
email_spec-1.1.1 examples/rails3_root/features/attachments.feature
path-email_spec-0.6.2 examples/rails3_root/features/attachments.feature
path-email_spec-0.6.2 examples/rails_root/features/attachments.feature
email_spec-0.6.4 examples/rails_root/features/attachments.feature
email_spec-tricycle-0.6.3 examples/rails_root/features/attachments.feature
email_spec-0.6.3 examples/rails_root/features/attachments.feature
opsb-email_spec-0.6.2 examples/rails_root/features/attachments.feature