Skip to content

Instantly share code, notes, and snippets.

@knwang
Created October 5, 2011 00:15
Show Gist options
  • Save knwang/1263229 to your computer and use it in GitHub Desktop.
Save knwang/1263229 to your computer and use it in GitHub Desktop.
Proofing_oven: User views candidates feature
@http://www.pivotaltracker.com/story/show/18733537 @candidates
Feature: User views candidates
In order to hire amazing people
As a signed in user
I want to see a list of candidates
- Candidates page displays all candidates
- Sorted by last name, first name
- Fields displayed include:
-- Name (last, first)
-- Phone
-- Emai
-- Github
-- Twitter
-- Local
-- Willing to Relocate
-- Added On
-- Status (pending, hired, rejected)
Scenario: display candidates
Given the following candidates:
| first name | last name | phone | email | github | twitter | local | willing to relocate | added on | status |
| Lisa | Simpson | 412-444-3333 | lisa@example.com | lisasgithub | lisastwitter | false | false | 2011-02-10 | rejected |
| Bart | Simpson | 412-333-2222 | bart@example.com | bartsgithub | bartstwitter | false | true | 2010-02-02 | hired |
| Peter | Griffin | 312-333-2222 | joe@example.com | joesgithub | joestwitter | true | true | 2009-01-01 | pending |
When I go to the candidate list page
Then I should see the following table:
| Name | Phone | Email | Github | Twitter | Local | Willing to Relocate |
| Bart Simpson | 412-333-2222 | bart@example.com | bartsgithub | bartstwitter | false | true |
| Lisa Simpson | 412-444-3333 | lisa@example.com | lisasgithub | lisastwitter | false | false |
| Peter Griffin | 312-333-2222 | joe@example.com | joesgithub | joestwitter | true | true |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment