Move user registration in User feature

This commit is contained in:
Thibault Jouan 2011-09-08 12:43:20 +00:00
parent acaa9fc19a
commit 7d74024dc0
2 changed files with 12 additions and 7 deletions

View File

@ -1,4 +1,4 @@
Feature: User
Feature: Session
So that I can manage my own content
As a listener
@ -15,9 +15,3 @@ Feature: User
Then I should be redirected to the sign in page
When I submit valid credentials
Then I should be redirected to the home page
Scenario: User registration
Given I go to the home page
When I follow the sign up link
And I fill in the sign up form
Then I should be redirected to the home page

11
features/user.feature Normal file
View File

@ -0,0 +1,11 @@
Feature: User
So that I can use the application
As a visitor
I want to register
Scenario: User registration
Given I go to the home page
When I follow the sign up link
And I fill in the sign up form
Then I should be redirected to the home page