Skip to content

Instantly share code, notes, and snippets.

@zombor
Forked from Ikke/gist:3996846
Created November 1, 2012 21:51
Show Gist options
  • Save zombor/3996861 to your computer and use it in GitHub Desktop.
Save zombor/3996861 to your computer and use it in GitHub Desktop.
Feature List entries
In order to see what time I have logged
I want to get a list of entries for a particular day
Scenario: List all entries for a single day
Given the log contains the following entries:
| start_time | stop_time | description | date |
| 08:00 | 09:00 | A | 2012-10-31 |
| 08:00 | 09:00 | B | 2012-11-01 |
| 09:00 | 10:00 | C | 2012-11-01 |
| 08:00 | 09:00 | D | 2012-11-02 |
When I view my time entries for 2012-11-01
Then I should see the following entries:
| start_time | stop_time | description | date |
| 08:00 | 09:00 | B | 2012-11-01 |
| 09:00 | 10:00 | C | 2012-11-01 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment