Change URL examples by metasyntactic variable names (RFC3092)
This commit is contained in:
@@ -9,14 +9,14 @@ Feature: Retrieve a resource from a handler in Kapow! server.
|
||||
|
||||
Given I have a Kapow! server with the following testing routes:
|
||||
| method | url_pattern |
|
||||
| GET | /listRootDir |
|
||||
When I send a request to the testing route "/listRootDir"
|
||||
| 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
|
||||
And I get "OK" as response reason phrase
|
||||
And I get the following response raw body:
|
||||
"""
|
||||
/listRootDir
|
||||
/foo
|
||||
"""
|
||||
|
||||
Scenario: Retrieve a resource item.
|
||||
@@ -25,8 +25,8 @@ Feature: Retrieve a resource from a handler in Kapow! server.
|
||||
|
||||
Given I have a Kapow! server with the following testing routes:
|
||||
| method | url_pattern |
|
||||
| GET | /listRootDir |
|
||||
When I send a request to the testing route "/listRootDir"
|
||||
| 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
|
||||
And I get "OK" as response reason phrase
|
||||
|
||||
Reference in New Issue
Block a user