Skip to content

Commit

Permalink
Added examples for validating features and projects
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jun 18, 2010
1 parent e9b560d commit 602abba
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions features/plain/form_validations.feature
Expand Up @@ -20,8 +20,12 @@ Feature: Validation of forms
And the "<model>" "<property>" "<input_type>" should have an error class

Examples: Models and their properties
| controller | model | value | property | input_type |
| features | feature | to | title | input |
| features | feature | to do | in_order | input |
| features | feature | use | as_a | input |
| features | feature | not | i_want | input |
| controller | model | value | property | input_type |
| features | feature | to | title | input |
| features | feature | to do | in_order | input |
| features | feature | use | as_a | input |
| features | feature | not | i_want | input |
| projects | project | so | title | input |
| projects | project | foo | aim | input |
| projects | project | too short | description | input |
| projects | project | blah/ | location | input |

0 comments on commit 602abba

Please sign in to comment.