Logout: still not a word.
This commit is contained in:
parent
f7c7ea33b6
commit
e025b14b60
3 changed files with 3 additions and 4 deletions
|
|
@ -11,8 +11,7 @@ Feature: Change password
|
|||
And I fill in "user_password_confirmation" with "newsecret"
|
||||
And I press "Change Password"
|
||||
Then I should see "Password Changed"
|
||||
And I click on my name in the header
|
||||
And I follow "logout"
|
||||
When I sign out
|
||||
Then I should be on the home page
|
||||
And I sign in with password "newsecret"
|
||||
Then I should be on the aspects page
|
||||
|
|
|
|||
|
|
@ -12,5 +12,5 @@ Feature: user authentication
|
|||
Scenario: user logs out
|
||||
Given I am signed in
|
||||
And I click on my name in the header
|
||||
And I follow "logout"
|
||||
And I follow "log out"
|
||||
Then I should be on the home page
|
||||
|
|
|
|||
|
|
@ -39,5 +39,5 @@ end
|
|||
|
||||
When /^I (?:log|sign) out$/ do
|
||||
When 'I click on my name in the header'
|
||||
And 'I follow "logout"'
|
||||
And 'I follow "log out"'
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue