Sha256: 34b0001e083fc422e2c883bc964f326f7d7821612a1350fd573853922e165972

Contents?: true

Size: 1.41 KB

Versions: 36

Compression:

Stored size: 1.41 KB

Contents

Feature: Password reset
  In order to sign in even if user forgot their password
  A user
  Should be able to reset it

    Scenario: User is not signed up
      Given no user exists with an email of "email@person.com"
      When I request password reset link to be sent to "email@person.com"
      Then I should see "Unknown email"

    Scenario: User is signed up and requests password reset
      Given I signed up with "email@person.com/password"
      When I request password reset link to be sent to "email@person.com"
      Then I should see "instructions for changing your password"
      And a password reset message should be sent to "email@person.com"

    Scenario: User is signed up updated his password and types wrong confirmation
      Given I signed up with "email@person.com/password"
      When I follow the password reset link sent to "email@person.com"
      And I update my password with "newpassword/wrongconfirmation"
      Then I should see error messages
      And I should be signed out

    Scenario: User is signed up and updates his password
      Given I signed up with "email@person.com/password"
      When I follow the password reset link sent to "email@person.com"
      And I update my password with "newpassword/newpassword"
      Then I should be signed in
      When I sign out
      Then I should be signed out
      And I sign in as "email@person.com/newpassword"
      Then I should be signed in

Version data entries

36 entries across 36 versions & 12 rubygems

Version Path
activerain-clearance-0.6.6 generators/clearance_features/templates/features/password_reset.feature
activerain-clearance-0.6.6001 generators/clearance_features/templates/features/password_reset.feature
activerain-clearance-0.6.6002 generators/clearance_features/templates/features/password_reset.feature
dacz-authuser-0.1.2 generators/authuser_features/templates/features/password_reset.feature
hui-clearance-0.6.6 generators/clearance_features/templates/features/password_reset.feature
joshuaclayton-clearance-0.6.4 generators/clearance_features/templates/features/password_reset.feature
qrush-clearance-0.7.0 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.4 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.5 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.6 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.7 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.8 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.9 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.7.0 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.8.0 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.8.1 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.8.2 generators/clearance_features/templates/features/password_reset.feature
tonkapark-clearance-0.6.9.1 generators/clearance_features/templates/features/password_reset.feature
tonkapark-clearance-0.6.9.2 generators/clearance_features/templates/features/password_reset.feature
tonkapark-clearance-0.6.9.3 generators/clearance_features/templates/features/password_reset.feature