Skip to content

Instantly share code, notes, and snippets.

@everzet
Forked from johnwards/new_study.feature
Created February 18, 2011 16:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save everzet/833984 to your computer and use it in GitHub Desktop.
Save everzet/833984 to your computer and use it in GitHub Desktop.
Feature: New Study
In order to create a new Study
As a Researcher
I must be able to enter information about the study and save it
Scenario Outline: Researcher adds new study
When I enter <study name>
And I enter <short url>
And I enter <welcome text>
And I set self registration to <self registration>
Then I should be redirected to /study/list
And I should see "<study name> created"
Examples:
| study name | short url | welcome text | self registration |
| Study 1 | study-1 | test text 1 | false |
| Study 1 | study-1 | test text 2 | true |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment