Refactoring of cucumber implementation
This commit is contained in:
1 parent
46885ac599
commit
9b6f3aab88
14 files changed
+259
-189
No files matched your search
@@ -1,11 +1,11 @@
|
||||
Feature: citizens routes
|
||||
|
||||
Scenario: The route for get citizens must response a 200
|
||||
When I send a "GET" request to "/citizens"
|
||||
When I send a GET request to "/citizens"
|
||||
Then the response status code should be 200
|
||||
|
||||
Scenario: The route for get one citizen must response a 200 and return citizen
|
||||
When I send a "GET" request to "/citizens/6434f4f9-f570-f22a-c134-8668350651ff"
|
||||
When I send a GET request to "/citizens/6434f4f9-f570-f22a-c134-8668350651ff"
|
||||
Then the response status code should be 200
|
||||
And the response should contain object:
|
||||
| id | 6434f4f9-f570-f22a-c134-8668350651ff |
|
||||
Reference in new issue
Block a user