feature #8: create Vote Constitution route

This commit is contained in:
2019-08-30 15:51:55 +02:00
parent 96362bbb66
commit f5bff403f0
4 changed files with 68 additions and 2 deletions

View File

@@ -10,9 +10,9 @@ Feature: vote Article
"""
Then the response status code should be 201
Scenario: Vote article
Scenario: Vote constitution
Given I am authenticated as John Doe with id "64b7b379-2298-43ec-b428-ba134930cabd"
When I send a PUT request to "/articles/9226c1a3-8091-c3fa-7d0d-c2e98c9bee7b/vote" with body:
When I send a PUT request to "/constitutions/64b1f265-bfb3-332b-eef9-d00f63a3beaa/vote" with body:
"""
{
"note": -1