feature #14: create route for follow article

This commit is contained in:
2019-08-14 18:44:07 +02:00
parent c1f228e3c5
commit 7dffc005b9
9 changed files with 198 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
Feature: follow routes
Scenario: The route for follow article must response a 200 and return object
Given I have citizen:
| id | 64b7b379-2298-43ec-b428-ba134930cabd |
| firstName | Jaque |
| lastName | Dupuis |
When I send a "POST" request to "/articles/9226c1a3-8091-c3fa-7d0d-c2e98c9bee7b/follow" with body:
"""
"""
Then the response status code should be 201