Fix tables alignment
This commit is contained in:
@@ -7,8 +7,8 @@ Feature: Fail to retrieve an invalid resource for a handler in Kapow! server.
|
||||
from a handler will trigger a invalid resource error.
|
||||
|
||||
Given I have a Kapow! server with the following testing routes:
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
When I send a request to the testing route "/foo"
|
||||
And I get the resource "/invented/path"
|
||||
Then I get 400 as response code
|
||||
|
||||
@@ -8,8 +8,8 @@ Feature: Fail to retrieve nonexistent resource items in Kapow! server.
|
||||
error.
|
||||
|
||||
Given I have a Kapow! server with the following testing routes:
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
When I send a request to the testing route "/foo"
|
||||
And I get the resource "/request/params/meloinvento"
|
||||
Then I get 204 as response code
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Feature: Fail to retrieve resources from nonexistent handler in Kapow! server.
|
||||
If trying to access a nonexistent handler then the
|
||||
server responds with a noptfound error.
|
||||
server responds with a not found error.
|
||||
|
||||
Scenario: Try to get a valid resource path from a nonexistent handler.
|
||||
A request to retrieve a resource from a
|
||||
|
||||
@@ -8,8 +8,8 @@ Feature: Retrieve a resource from a handler in Kapow! server.
|
||||
request through the handler id.
|
||||
|
||||
Given I have a Kapow! server with the following testing routes:
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
When I send a request to the testing route "/foo"
|
||||
And I get the resource "/request/path"
|
||||
Then I get 200 as response code
|
||||
@@ -24,8 +24,8 @@ Feature: Retrieve a resource from a handler in Kapow! server.
|
||||
the current request through the handler id.
|
||||
|
||||
Given I have a Kapow! server with the following testing routes:
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
When I send a request to the testing route "/foo"
|
||||
And I get the resource "/request/headers/Host"
|
||||
Then I get 200 as response code
|
||||
|
||||
@@ -28,7 +28,7 @@ Feature: Retrieve request resources from a handler in Kapow! server.
|
||||
Examples:
|
||||
| resourcePath | value |
|
||||
| /request/method | GET |
|
||||
| /request/path | /foo/matchVal1 |
|
||||
| /request/path | /foo/matchVal1 |
|
||||
| /request/host | localhost:8080 |
|
||||
| /request/matches/path | matchVal1 |
|
||||
| /request/params/par1 | paramVal1 |
|
||||
|
||||
@@ -9,7 +9,7 @@ Feature: Setting values for handler response resources in Kapow! server.
|
||||
|
||||
Given I have a Kapow! server with the following testing routes:
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
| GET | /foo |
|
||||
When I send a request to the testing route "/foo"
|
||||
And I set the resource "/response/status" with value "418"
|
||||
And I release the testing request
|
||||
@@ -21,7 +21,7 @@ Feature: Setting values for handler response resources in Kapow! server.
|
||||
|
||||
Given I have a Kapow! server with the following testing routes:
|
||||
| method | url_pattern |
|
||||
| GET | /foo |
|
||||
| GET | /foo |
|
||||
When I send a request to the testing route "/foo"
|
||||
And I set the resource "<resourcePath>" with value "<value>"
|
||||
And I release the testing request
|
||||
|
||||
Reference in New Issue
Block a user