Skip to content

Commit

Permalink
Adding stub for user bdd
Browse files Browse the repository at this point in the history
  • Loading branch information
zombor committed Jan 13, 2011
1 parent 0faabbc commit ad0c7e5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions test/features/vendo/user.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Feature: User management
Users can register, login, logout

Scenario: register
Given I am logged out
When I click the "Register" link
And I fill out the registration form
And I press "Submit"
Then I should be logged in

Scenario: login
Given I am logged out
When I click the "Login" link
And I fill in "email" with "[email protected]"
And I fill in "password" with "test"
Then I should be logged in

Scenario: logout
Given I am logged out
When I click the "Login" link
And I fill in "email" with "[email protected]"
And I fill in "password" with "test"
Then I should be logged in
When I click the "Logout" link
Then I should be logged out

0 comments on commit ad0c7e5

Please sign in to comment.