Sha256: 68aded77cbab5cde3c439bde45e7a11117b19bd4936d51de490ff1079c2fd1a3

Contents?: true

Size: 1.79 KB

Versions: 11

Compression:

Stored size: 1.79 KB

Contents

Feature: Sign up
  In order to get access to protected sections of the site
  A user
  Should be able to sign up

    Scenario: User signs up with invalid data
      When I go to the sign up page
      And I fill in "Email" with "invalidemail"
      And I fill in "Password" with "password"
      And I fill in "Confirm password" with ""
      And I press "Sign Up"
      Then I should see error messages

    Scenario: User signs up with valid data
      When I go to the sign up page
      And I fill in "Email" with "email@person.com"
      And I fill in "Password" with "password"
      And I fill in "Confirm password" with "password"
      And I press "Sign Up"
      Then I should see "instructions for confirming"
      And a confirmation message should be sent to "email@person.com"

    Scenario: User confirms his account
      Given I signed up with "email@person.com/password"
      When I follow the confirmation link sent to "email@person.com"
      Then I should see "Confirmed email and signed in"
      And I should be signed in

    Scenario: Signed in user clicks confirmation link again
      Given I signed up with "email@person.com/password"
      When I follow the confirmation link sent to "email@person.com"
      Then I should be signed in
      When I follow the confirmation link sent to "email@person.com"
      Then I should see "Confirmed email and signed in"
      And I should be signed in

    Scenario: Signed out user clicks confirmation link again
      Given I signed up with "email@person.com/password"
      When I follow the confirmation link sent to "email@person.com"
      Then I should be signed in
      When I sign out
      And I follow the confirmation link sent to "email@person.com"
      Then I should see "Already confirmed email. Please sign in."
      And I should be signed out

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
qrush-clearance-0.7.0 generators/clearance_features/templates/features/sign_up.feature
thoughtbot-clearance-0.7.0 generators/clearance_features/templates/features/sign_up.feature
thoughtbot-clearance-0.8.0 generators/clearance_features/templates/features/sign_up.feature
thoughtbot-clearance-0.8.1 generators/clearance_features/templates/features/sign_up.feature
thoughtbot-clearance-0.8.2 generators/clearance_features/templates/features/sign_up.feature
tonkapark-clearance-0.7.0.1 generators/clearance_features/templates/features/sign_up.feature
tonkapark-clearance-0.7.0 generators/clearance_features/templates/features/sign_up.feature
clearance-0.8.5 generators/clearance_features/templates/features/sign_up.feature
clearance-0.8.4 generators/clearance_features/templates/features/sign_up.feature
clearance-0.8.3 generators/clearance_features/templates/features/sign_up.feature
clearance-0.8.2 generators/clearance_features/templates/features/sign_up.feature