Created
January 27, 2009 05:02
-
-
Save taylor/53190 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Feature: Add set to a push up routine | |
| A routine consists of n sets | |
| A set contains x reps | |
| The number of reps can be different for each set and should be specified | |
| Sets are added in the order they are given | |
| Scenario: Add four sets w/one slow rep for the 1st and five fast reps for the other three sets | |
| Given I have an empty routine | |
| When I add a set with 5 slow reps for the first set | |
| And then I add a 3 more sets with 10 fast reps each | |
| Then I should have a routine with the following reps: 5 slow, 10 fast, 10 fast, 10 fast for a total of 35 | |
| Scenario: Add a 1 taco to the routine and it should still have an empty routine | |
| Given I have an empty routine | |
| When I add a set with 1 taco | |
| Then I should still have an empty routine | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment