diaspora/features/logs_in_and_out.feature
Florian Staudacher 9b563e39da fix login cukes
2012-05-19 22:29:12 +02:00

13 lines
398 B
Gherkin

@javascript
Feature: user authentication
Scenario: user logs in
Given a user with username "ohai" and password "secret"
When I sign in manually as "ohai" with password "secret"
Then I should be on the stream page
Scenario: user logs out
Given I am signed in
And I click on my name in the header
And I follow "Log out"
Then I should be on the new user session page