Skip to content

Commit e4d69aa

Browse files
committed
Add feature test for branch mutation and close issue piotrmurach#154
1 parent c2a7b9a commit e4d69aa

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

features/repos.feature

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ Feature: Repositories API
2323
And the response type should be JSON
2424
And the response should not be empty
2525

26+
Scenario: Get Branch mutation (Issue #154)
27+
28+
Given I want branch resource with the following params:
29+
| user | repo | branch |
30+
| peter-murach | github | new_dsl |
31+
When I make request within a cassette named "repos/branch_mutation_one"
32+
Then the response status should be 200
33+
And the response type should be JSON
34+
And the response should not be empty
35+
When I make request within a cassette named "repos/branch_mutation_two"
36+
Then the response status should be 200
37+
And the response type should be JSON
38+
And the response should not be empty
39+
2640
Scenario: Tags
2741

2842
Given I want tags resource with the following params:

0 commit comments

Comments
 (0)