Skip to content

Instantly share code, notes, and snippets.

@chrischambers
Created September 2, 2010 21:30
Show Gist options
  • Save chrischambers/562986 to your computer and use it in GitHub Desktop.
Save chrischambers/562986 to your computer and use it in GitHub Desktop.
Feature: Store information about achievements # achievements.feature:1
In order to manage achievements # achievements.feature:3
As a programmer # achievements.feature:4
I want to model them using the Django ORM # achievements.feature:5
Scenario: Creating simple achievements # achievements.feature:7
Given that I have the following achievement data: # achievement-steps.py:29
| name | teaser | description |
| Bronze Star | The bronze award | This is the third rank |
| Silver Star | The silver award | This is the second rank |
| Gold Star | The gold award | This is the first rank |
When I create the appropriate Achievement objects # achievement-steps.py:33
Then they should be successfully saved into the database # achievement-steps.py:43
1 feature (1 passed)
1 scenario (1 passed)
3 steps (3 passed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment