Sha256: 58e11c5ea75a837f1651ad28fac4dd8ed0bf91b9d2a8750063c88a19eb58ffb1
Contents?: true
Size: 1.69 KB
Versions: 3
Compression:
Stored size: 1.69 KB
Contents
Feature: Password reset In order to sign in even if I forgot my password As a user I want to reset my password 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" And I go to the password reset request page And I fill in "Email address" with "email@person.com" And I press "Reset 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 an error message And I should be signed out Scenario: User is signed up and updates his password Given I signed up with "email@person.com/password" And I go to the password reset request page And I fill in "Email address" with "email@person.com" And I press "Reset 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
3 entries across 1 versions & 1 rubygems