Sha256: 7d36ef2649ad692b1d90203d5bd0071b249dac2380c3f486d4740c5e8660bfc0

Contents?: true

Size: 1.38 KB

Versions: 14

Compression:

Stored size: 1.38 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 not be signed in

    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
      And I sign in as "email@person.com/newpassword"
      Then I should be signed in

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
jeffrafter-clearance-0.5.4 generators/clearance_features/templates/features/password_reset.feature
kellyfelkins-clearance-0.5.6 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.5.1 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.5.2 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.5.3 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.5.4 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.5.6 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.0 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.1 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.2 generators/clearance_features/templates/features/password_reset.feature
thoughtbot-clearance-0.6.3 generators/clearance_features/templates/features/password_reset.feature
vita-clearance-0.6.2 generators/clearance_features/templates/features/password_reset.feature
vita-clearance-0.6.3.1 generators/clearance_features/templates/features/password_reset.feature
vita-clearance-0.6.3 generators/clearance_features/templates/features/password_reset.feature