Logout: still not a word.

This commit is contained in:
Sarah Mei 2011-04-29 19:44:57 -07:00
parent f7c7ea33b6
commit e025b14b60
3 changed files with 3 additions and 4 deletions

View file

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

View file

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

View file

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