Created
January 16, 2017 20:44
-
-
Save Geertvdc/de017252896ba193ef8617f5984cb9aa 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
Feature: Serve coffee | |
Coffee should not be served until paid for | |
Coffee should not be served until the button has been pressed | |
If there is no coffee left then money should be refunded | |
Scenario: Buy last coffee | |
Given there are 1 coffees left in the machine | |
And I have deposited 1$ | |
When I press the coffee button | |
Then I should be served a coffee |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment