Created
October 5, 2011 17:41
-
-
Save patrick99e99/1265118 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: Updating an existing request | |
In order to change my mind about what I need | |
I want to be able to edit my Request | |
Background: | |
Given I am logged in with facebook | |
And I go to the new request page | |
And I fill in the following: | |
| I want | Dragon's Lair Arcade Game | | |
| for | 2000 | | |
And I select the category "Stuff" | |
And I complete the request | |
Scenario: Logged in users can edit requests | |
When I click the edit request button | |
And I fill in the following: | |
| I want | iPhone6 | | |
| I'll pay | 300 | | |
And I select the category "Phones & Electronics" | |
And I update the request | |
Then I should see "Requested: iPhone6" | |
And I should see "Reward: $300" | |
Scenario: Logged out users cannot edit requests | |
When I log out | |
Then I should not see the edit request button |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment