-
-
Save aslakhellesoy/1265136 to your computer and use it in GitHub Desktop.
Refactored from imperative to declarative
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: Updating an existing request | |
In order to change my mind about what I need | |
I want to be able to edit my Request | |
Background: Logged in via facebook with one request | |
Given I am logged in with facebook | |
And I have a request for "Dragon's Lair Arcade Game" at $2000 | |
Scenario: Logged in users can edit requests | |
When I change the request to "iPhone6" at $300 | |
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 be able to modify any requests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment