Skip to content

Instantly share code, notes, and snippets.

@etradaniel
Last active August 29, 2015 13:57
Show Gist options
  • Save etradaniel/9376513 to your computer and use it in GitHub Desktop.
Save etradaniel/9376513 to your computer and use it in GitHub Desktop.
So I can manage makers, I want to create an account
Scenario: Create account
When I enter valid user info
And I create my account
Then I see the confirmation message
And I see the login page
And I get an email with confirmation instructions
Scenario: Reset password
When I enter my email in the password reset form
And the email is associated with an account
Then I get the password reset email
So that I can get something made, as an anonymous user I want to create some widgets
Scenario: Create a widget
When I create a new widget
And I enter widget name
And I enter widget description
And I select a maker from the list of makers
And I enter a price
And I save
Then I see my widget widget
Scenario: Edit a widget
When I edit a widget
And I save changes
Then I see the updated widget
Scenario: List widgets
When I view the list of widgets
Then I see the all the widgets
Scenario: Invalid submission
When I save an invalid submission
The I see what is invalid
So that I can know where widgets should be made, as an admin user I want to create some makers
Scenario: Create a maker
Given I am signed in
When I create a new maker
And I enter maker name
And I enter maker description
And I enter maker location
And I enter maker email
And I save
Then I see the maker
Scenario: Edit a maker
When I edit a maker
And I save changes
Then I see the updated maker
Scenario: List makers
When I view the list of makers
Then I see the all the makers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment