Skip to content

Commit ec58991

Browse files
committed
Be more lenient with replaying destructive actions on milestones and labels.
1 parent 9c61d99 commit ec58991

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

features/issues/labels.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Feature: Labels API
5757
And I pass the following request options:
5858
| name | color |
5959
| api | FFFFFF |
60-
When I make request within a cassette named "issues/labels/create" and match on method, host, path
60+
When I make request within a cassette named "issues/labels/create" and match on method
6161
Then the response status should be 201
6262
And the response type should be JSON
6363
And the response should not be empty
@@ -70,7 +70,7 @@ Feature: Labels API
7070
And I pass the following request options:
7171
| name | color |
7272
| api | 000000 |
73-
When I make request within a cassette named "issues/labels/update" and match on method, host, path
73+
When I make request within a cassette named "issues/labels/update" and match on method
7474
Then the response status should be 200
7575
And the response type should be JSON
7676
And the response should not be empty
@@ -80,6 +80,6 @@ Feature: Labels API
8080
Given I want to delete resource with the following params:
8181
| user | repo | label_name |
8282
| murek | github_api_test | api |
83-
When I make request within a cassette named "issues/labels/delete" and match on method, host, path
83+
When I make request within a cassette named "issues/labels/delete" and match on method
8484
Then the response status should be 204
8585

features/issues/milestones.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Feature: Milestones API
3434
And I pass the following request options:
3535
| title | state | description |
3636
| fix-all | open | fixing all issues |
37-
When I make request within a cassette named "issues/milestones/create" and match on method, host, path
37+
When I make request within a cassette named "issues/milestones/create" and match on method
3838
Then the response status should be 201
3939
And the response type should be JSON
4040
And the response should not be empty
@@ -47,7 +47,7 @@ Feature: Milestones API
4747
And I pass the following request options:
4848
| state |
4949
| closed |
50-
When I make request within a cassette named "issues/milestones/update" and match on method, host, path
50+
When I make request within a cassette named "issues/milestones/update" and match on method
5151
Then the response status should be 200
5252
And the response type should be JSON
5353
And the response should not be empty
@@ -57,6 +57,6 @@ Feature: Milestones API
5757
Given I want to delete resource with the following params:
5858
| user | repo | milestone_id |
5959
| murek | github_api_test | 1 |
60-
When I make request within a cassette named "issues/milestones/delete" and match on method, host, path
60+
When I make request within a cassette named "issues/milestones/delete" and match on method
6161
Then the response status should be 204
6262

0 commit comments

Comments
 (0)