Adapting style to the capabilities of gherkin-lint.
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
"Scenario": 2,
|
"Scenario": 2,
|
||||||
"Background": 2,
|
"Background": 2,
|
||||||
"given": 4,
|
"given": 4,
|
||||||
"when": 6,
|
"when": 4,
|
||||||
"then": 6,
|
"then": 4,
|
||||||
"and": 6,
|
"and": 6,
|
||||||
"but": 6,
|
"but": 6,
|
||||||
"example": 2,
|
"example": 2,
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
"new-line-at-eof": ["on", "yes"],
|
"new-line-at-eof": ["on", "yes"],
|
||||||
"no-multiple-empty-lines": "on",
|
"no-multiple-empty-lines": "on",
|
||||||
"no-scenario-outlines-without-examples": "on",
|
"no-scenario-outlines-without-examples": "on",
|
||||||
"name-length": ["on", {"Feature": 50}],
|
"name-length": ["on", {"Feature": 80}],
|
||||||
"no-restricted-tags": ["on", {"tags": ["@watch", "@wip"]}],
|
"no-restricted-tags": ["on", {"tags": ["@watch", "@wip"]}],
|
||||||
"use-and": "on",
|
"use-and": "on",
|
||||||
"no-duplicate-tags": "on",
|
"no-duplicate-tags": "on",
|
||||||
|
|||||||
@@ -41,5 +41,3 @@ Feature: Kapow! server reject responses with semantic errors.
|
|||||||
Then I get unprocessable entity as response code
|
Then I get unprocessable entity as response code
|
||||||
And I get "Invalid Data Type" as response phrase
|
And I get "Invalid Data Type" as response phrase
|
||||||
And I get an empty response body
|
And I get an empty response body
|
||||||
|
|
||||||
...
|
|
||||||
|
|||||||
@@ -40,5 +40,3 @@ Feature: Kapow! server reject insert responses with semantic errors.
|
|||||||
Then I get unprocessable entity as response code
|
Then I get unprocessable entity as response code
|
||||||
And I get "Invalid Data Type" as response phrase
|
And I get "Invalid Data Type" as response phrase
|
||||||
And I get an empty response body
|
And I get an empty response body
|
||||||
|
|
||||||
...
|
|
||||||
|
|||||||
Reference in New Issue
Block a user