Created
May 3, 2014 10:15
-
-
Save jgwhite/c0b8517827ac32aca835 to your computer and use it in GitHub Desktop.
Decent example of a cucumber spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Adding a session | |
Scenario: | |
Given I am in London | |
Given it is 28 April 2014 at 12:00 | |
And I am signed in to Google as "someone@example.com" | |
When I visit "/admin" | |
And I fill in "Add a session" with "Wednesday at 2pm" | |
And I click "Add" | |
Then I see "Wednesday 2:00–2:30pm" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment