Skip to content

Commit

Permalink
Removed duplicate steps, which are now stored in the form validations…
Browse files Browse the repository at this point in the history
… feature
  • Loading branch information
baphled committed Jun 18, 2010
1 parent 602abba commit 5cb33db
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions features/plain/project_form_validation.feature
Expand Up @@ -3,30 +3,6 @@ Feature: Must be able to deal with our projects validations on our forms
As a user
I want the form to be validated on the back end

Scenario: A user must input a valid title
Given I can view the projects page
When I click new projects
And we fill in the project aim with 'An aim'
And we fill in the project description with 'A short description'
Then submit the form
And the "project" "title" "input" should have an error class

Scenario: A user must input a valid aim
Given I can view the projects page
When I click new projects
And we fill in the project title with 'WorldPeace2.0'
And we fill in the project description with 'A short description'
Then submit the form
And the "project" "aim" "input" should have an error class

Scenario: A user must input a valid description
Given there is a project
When I click new projects
And we fill in the project title with 'WorldPeace2.0'
And we fill in the project aim with 'An aim'
Then submit the form
And the "project" "description" "input" should have an error class

Scenario: A projects title should be no less than 3 letters long
Given I can view the projects page
When I click new projects
Expand Down

0 comments on commit 5cb33db

Please sign in to comment.