Skip to content

Instantly share code, notes, and snippets.

@joemsak
Created December 7, 2009 22:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joemsak/251201 to your computer and use it in GitHub Desktop.
Save joemsak/251201 to your computer and use it in GitHub Desktop.
books.feature.a
Feature: Books
So that I can add books
With due dates
The system will allow me to
Create and manage a list of books
So I can get reminders before they're due back
Scenario: Create a book
Given I have no books
When I am on the home page
And I follow "Add a Book"
Then I should see "Add a Book"
When I fill in "Title" with "Grapes of Wrath"
And I press "Submit"
Then I should be on the books page
And I should see "Your book was added to your shelf"
And I should see "Grapes of Wrath"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment