-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cambio los feature para q funcionen los tests
- Loading branch information
1 parent
dd1fe4d
commit 1870a88
Showing
2 changed files
with
17 additions
and
19 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
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,16 @@ | ||
Feature: Bank account promo, get 10% extra in your $2000+ deposits, up to $500 | ||
|
||
Scenario: Successfully promo applied, cap not reached. | ||
Given Account with a balance of 0 | ||
When Trying to deposit 2000 | ||
Then Account balance should be 2200 | ||
|
||
Scenario: Successfully promo applied, cap reached. | ||
Given Account with a balance of 0 | ||
When Trying to deposit 6000 | ||
Then Account balance should be 6500 | ||
|
||
Scenario: Promo not applied | ||
Given Account with a balance of 0 | ||
When Trying to deposit 1500 | ||
Then Account balance should be 1500 |