Permalink
Browse files

Scenario approvement

  • Loading branch information...
1 parent 7ac2bf9 commit 3c35a90910d4dbbe6877dae6281f706cbb6759ef Tsvetomila Mihaylova committed Oct 24, 2011
Showing with 2 additions and 4 deletions.
  1. +2 −4 README.md
View
@@ -624,10 +624,8 @@ be free text depending on the complexity of the feature.
* Use Scenario Outlines freely to keep the scenarios DRY.
```Ruby
- Scenario Outline: Entering invalid e-mail displays an error
- Given I am on the user registration page
- And I enter "<email>" for the "E-mail"
- And I click the button "Register"
+ Scenario Outline: User cannot register with invalid e-mail
+ When I try to register with an email "<email>"
Then I should see the error message "<error>"
Examples:

0 comments on commit 3c35a90

Please sign in to comment.