Sha256: 40d3e006e8e75999b771bacdf2cac769a7a8c6ff71178110664c6f9b36736df2

Contents?: true

Size: 1.41 KB

Versions: 21

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 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"
      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

21 entries across 12 versions & 2 rubygems

Version Path
clearance-0.10.1 spec/rails_root/vendor/features/password_reset.feature
janova-clearance-0.9.1 spec/rails_root/features/password_reset.feature
janova-clearance-0.9.1 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.1 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.1 spec/rails_root/features/password_reset.feature
clearance-0.9.0.rc9 spec/rails_root/features/password_reset.feature
clearance-0.9.0.rc9 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.0.rc8 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.0.rc8 spec/rails_root/features/password_reset.feature
clearance-0.9.0.rc7 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.0.rc7 spec/rails_root/features/password_reset.feature
clearance-0.9.0.rc6 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.0.rc6 spec/rails_root/features/password_reset.feature
clearance-0.9.0.rc5 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.0.rc5 spec/rails_root/features/password_reset.feature
clearance-0.9.0.rc4 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.0.rc4 spec/rails_root/features/password_reset.feature
clearance-0.9.0.rc3 lib/rails/generators/clearance_features_templates/features/password_reset.feature
clearance-0.9.0.rc3 spec/rails_root/features/password_reset.feature
clearance-0.9.0.rc2 lib/rails/generators/clearance_features_templates/features/password_reset.feature