Created
April 21, 2009 20:46
-
-
Save aslakhellesoy/99376 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario Outline: Religious menus | |
Given I am "<Religion>" | |
When I ask to see a menu | |
Then I should be presented a menu | |
<meats> | |
Examples: | |
| Religion | Pork | Lamb | Veal | | |
| Christian | Y | Y | Y | | |
| Jewish | N | Y | Y | | |
| Muslim | N | Y | Y | | |
| Hindu | N | Y | N | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given /I am "(.+)"/ do |regligion| | |
end | |
Then /I should be presented a menu/ do |meat_hash| | |
# 1: {'Pork'=>'Y', 'Lamb'=>'Y', 'Veal'=>'Y'} | |
# 2: {'Pork'=>'N', 'Lamb'=>'Y', 'Veal'=>'Y'} | |
# 3: {'Pork'=>'N', 'Lamb'=>'Y', 'Veal'=>'Y'} | |
# 4: {'Pork'=>'N', 'Lamb'=>'Y', 'Veal'=>'N'} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment