feature #8: create Vote Constitution route
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user