Sha256: 8bd0ff11888817e3fdfb852dd9bd18ce6b265bb8de316c2f86ec2f90930f319b

Contents?: true

Size: 1.19 KB

Versions: 46

Compression:

Stored size: 1.19 KB

Contents

Feature: Email-spec errors example
  In order to help alleviate email testing in apps
  As a email-spec contributor I a newcomer
  Should be able to easily determine where I have gone wrong
  These scenarios should fail with helpful messages

  Background:
    Given I am on the homepage
    And no emails have been sent
    When I fill in "Email" with "example@example.com"
    And I press "Sign up"

  Scenario: I fail to open an email with incorrect subject
    Then I should receive an email
    When "example@example.com" opens the email with subject "no email"

  Scenario: I fail to open an email with incorrect text
    Then I should receive an email
    When "example@example.com" opens the email with text "no email"

  Scenario: I fail to receive an email with the expected link
    Then I should receive an email
    When I open the email
    When I follow "link that doesn't exist" in the email

  Scenario: I attempt to operate on an email that is not opened
    Then I should receive an email
    When I follow "confirm" in the email

  Scenario: I attempt to check out an unopened email
    Then I should see "confirm" in the email body
    And I should see "Account confirmation" in the email subject

Version data entries

46 entries across 25 versions & 6 rubygems

Version Path
bmabey-email_spec-0.3.1 examples/rails_root/features/errors.feature
bmabey-email_spec-0.3.2 examples/rails_root/features/errors.feature
bmabey-email_spec-0.3.3 examples/rails_root/features/errors.feature
bmabey-email_spec-0.3.4 examples/rails_root/features/errors.feature
email_spec-1.0.1 examples/sinatra_root/features/errors.feature
email_spec-1.0.1 examples/rails3_root/features/errors.feature
email_spec-1.2.0 examples/rails3_root/features/errors.feature
email_spec-1.2.0 examples/sinatra_root/features/errors.feature
email_spec-0.6.6 examples/rails_root/features/errors.feature
email_spec-0.6.6 examples/sinatra/features/errors.feature
email_spec-0.6.5 examples/sinatra/features/errors.feature
email_spec-0.6.5 examples/rails_root/features/errors.feature
email_spec-1.1.1 examples/rails3_root/features/errors.feature
email_spec-1.1.1 examples/sinatra_root/features/errors.feature
path-email_spec-0.6.2 examples/sinatra/features/errors.feature
path-email_spec-0.6.2 examples/rails_root/features/errors.feature
path-email_spec-0.6.2 examples/rails3_root/features/errors.feature
email_spec-0.6.4 examples/sinatra/features/errors.feature
email_spec-0.6.4 examples/rails_root/features/errors.feature
email_spec-tricycle-0.6.3 examples/rails_root/features/errors.feature