generators/clearance_features/templates/features/password_reset.feature in thoughtbot-clearance-0.4.8 vs generators/clearance_features/templates/features/password_reset.feature in thoughtbot-clearance-0.4.9
- old
+ new
@@ -1,7 +1,7 @@
-Fature: Password Reset
- In order to sign in even if he forgot his password
+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 there is no user with "email@person.com"
@@ -28,5 +28,12 @@
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
+ Scenario: User requests password reset without token
+ Given a user exists with an email of "user@one.com"
+ When I try to change the password of "user@one.com" without token
+ Then I should be forbidden
+
+
+