generators/clearance_features/templates/features/sign_out.feature in thoughtbot-clearance-0.6.3 vs generators/clearance_features/templates/features/sign_out.feature in thoughtbot-clearance-0.6.4
- old
+ new
@@ -1,22 +1,23 @@
Feature: Sign out
To protect my account from unauthorized access
A signed in user
Should be able to sign out
-
+
Scenario: User signs out
Given I am signed up and confirmed as "email@person.com/password"
When I sign in as "email@person.com/password"
Then I should be signed in
And I sign out
- Then I should see "You have been signed out"
- And I should not be signed in
-
+ Then I should see "Signed out"
+ And I should be signed out
+
Scenario: User who was remembered signs out
Given I am signed up and confirmed as "email@person.com/password"
When I sign in with "remember me" as "email@person.com/password"
Then I should be signed in
And I sign out
- Then I should see "You have been signed out"
- And I should not be signed in
+ Then I should see "Signed out"
+ And I should be signed out
When I return next time
- Then I should not be signed in
+ Then I should be signed out
+