Skip to content

Instantly share code, notes, and snippets.

@spif
Created December 16, 2011 10:06
Show Gist options
  • Save spif/1485453 to your computer and use it in GitHub Desktop.
Save spif/1485453 to your computer and use it in GitHub Desktop.
Feature: User does check in
In order to track my feelings
As a game player
I want to checkin by choosing an emotion
Scenario: user does emotion checkin
Given I am logged in as "Tim"
When I go to the checkin page
Then I should see a list of 5 locations
And I should see a list of people I'm with
And I should see a list of emotional groups
When I pick the location "Home"
And I say I'm with "My Partner"
And I pick the emotion group "Waaay Up There"
And I submit the form
Then I should see a confirm message
When I confirm the message
Then I should see a thank you note that tells me how many points I've earned
Scenario: user can has open option for emotion checkin
# taking over from step 'Then I should see a list emotional groups'
Then I should see an option to create my own emotional group
When I fill in the text "Annoyed, Horny, Bitchy"
Then I should see a confirm message
When I confirm the message
Then I should see a thank you note that tells me how many points I've earned
Scenario: user can view past checkins
Given I am logged in as "Tim"
When I go to view my checkins list
Then I should see an overview of all my checkins
Scenario: user receives an email with request to checkin
Given I am user called "Tim"
And it is the time of day I have indicated that I want to recieve a checkin reminder
Then I should receive a checkin reminder with a link to checkin
And the link should not cause me to login again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment