FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tip4commit/features/min_tip_amount.feature at master · tip4commit/tip4commit · GitHub
tip4commit
tip4commit
Repository navigation
Code
Issues
54
(54)
Pull requests
13
(13)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
tip4commit
/
features
/
min_tip_amount.feature
Copy path
More file actions
More file actions
Latest commit
History
History
History
26 lines (23 loc) · 1.21 KB
Breadcrumbs
tip4commit
/
features
/
min_tip_amount.feature
Copy path
File metadata and controls
26 lines (23 loc) · 1.21 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Feature
:
Admins can set minimum tip amount in the configuration file
Background
:
Given
a
"github"
project named
"me/my-project"
exists
And
our fee is
"0"
And
the minimum tip amount is
"300"
And
a deposit of
"500"
is made
Scenario
:
Developer gets minimum tip or the remaining available_amount
Given
a developer named
"yugo"
exists with a bitcoin address
And
a new commit
"COMMIT1"
is made by a developer named
"yugo"
And
a new commit
"COMMIT2"
is made by a developer named
"yugo"
And
a new commit
"COMMIT3"
is made by a developer named
"yugo"
And
a new commit
"COMMIT4"
is made by a developer named
"yugo"
When
the project syncs with the remote repo
Then
there should be a tip of
"300"
for commit
"COMMIT1"
And
there should be a tip of
"200"
for commit
"COMMIT2"
And
there should be no tip for commit
"COMMIT3"
When
a deposit of
"299"
is made
And
the project syncs with the remote repo
Then
there should be a tip of
"299"
for commit
"COMMIT3"
And
there should be no tip for commit
"COMMIT4"
When
a deposit of
"1"
is made
And
the project syncs with the remote repo
Then
there should be a tip of
"1"
for commit
"COMMIT4"
Back
|
FazBrowse Home
|
New Git URL