Created
September 15, 2009 18:31
-
-
Save ratnikov/187515 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: Beer Donations | |
In order to donate a beer | |
A user | |
Should be signed_in | |
Background: | |
Given user@example.com is a user with password "secret" | |
Scenario: A registered user should be able to donate a beer to another registered user | |
Given someone@example.com is a user | |
And I log in as user@example.com with password "secret" | |
When I go to my homepage page | |
And I click on "donate a beer" | |
And I fill in "recipient" with "someone@example.com" | |
And I click on submit | |
Then I should see "Beer Donation sent" | |
And user "someone@example.com" should have a beer donation from "user@example.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment