-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Hall
authored and
Hall
committed
Apr 26, 2017
1 parent
1b12638
commit 87d70e6
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Scenario 1: Award for Fuel Supply | ||
Given I am a policy analyst | ||
And I want to award Esso 1 million credits | ||
And the fair market value is $75 per credit | ||
And the effective date is <now> | ||
When I submit the transaction | ||
Then the transaction is logged | ||
And transaction status is Pending | ||
And error message is returned for bad data inputs | ||
|
||
Scenario 2: Transaction Approval | ||
Given I am a Director | ||
And I am on the transaction summary page | ||
And the transaction status is Pending | ||
And effective date is On Director Approval | ||
When I authorize the transaction | ||
Then the transaction status is Approved | ||
And the transaction approval is logged | ||
And the effective date is set to <now> | ||
|
||
Scenario 3: Balance Update | ||
Given I am a Fuel Supplier with a starting balance of 10,000 credits | ||
And the Director just approved a sale of 10,000 credits from my account | ||
When I view my account balance | ||
Then the balance is now 0 |
87d70e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.