Skip to content

Instantly share code, notes, and snippets.

@johnreilly
Created November 25, 2008 20:45
Show Gist options
  • Save johnreilly/29081 to your computer and use it in GitHub Desktop.
Save johnreilly/29081 to your computer and use it in GitHub Desktop.
Feature: Manage people
In order to keep track of the people involved with the station
A station manager
Should be able to manage several people
Scenario: Register new people
Given I am on the new person page
When I fill in "First Name" with "John"
And I fill in "Last Name" with "Reilly"
And I press "Create"
Then I should see "John"
And I should see "Reilly"
And I should see "successfully created"
Scenario: Delete people
Given there are 4 people
When I delete the first person
Then there should be 3 people on the people page
And I should see "deleted"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment