Skip to content

Instantly share code, notes, and snippets.

@aslakhellesoy
Created April 21, 2009 16:20
Show Gist options
  • Save aslakhellesoy/99220 to your computer and use it in GitHub Desktop.
Save aslakhellesoy/99220 to your computer and use it in GitHub Desktop.
| Religion | Pork | Lamb | Veal |
| Christian | Y | Y | Y |
| Jewish | | Y | Y |
| Muslim | | Y | Y |
| Hindu | Y | Y | |
| Atheist | Y | Y | Y |
Scenario Outline: Religious menus
Given the customer is a "<Religion>"
When they ask for the menu
Then they should be presented with:
| Pork | Lamb | Veal |
| <Pork> | <Lamb> | <Veal> |
Examples:
| Religion | Pork | Lamb | Veal |
| Christian | Y | Y | Y |
| Jewish | | Y | Y |
| Muslim | | Y | Y |
| Hindu | | Y | |
Scenario: Religious menus
When a customer asks for the menu they should be presented with:
| Religion | Pork | Lamb | Veal |
| Christian | Y | Y | Y |
| Jewish | | Y | Y |
| Muslim | | Y | Y |
| Hindu | | Y | |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment