Add route for get all versions of one article

This commit is contained in:
flecomte committed 2019-09-05 17:45:24 +02:00
1 parent 6423491be3
commit 742927a590
4 files changed
+51 -3

No files matched your search

@@ -4,6 +4,10 @@ Feature: articles routes
When I send a GET request to "/articles"
Then the response status code should be 200
Scenario: Can get versions of article by the id
When I send a GET request to "/articles/9226c1a3-8091-c3fa-7d0d-c2e98c9bee7b/versions"
Then the response status code should be 200
Scenario: The route for get one article must response a 200 and return article
When I send a GET request to "/articles/9226c1a3-8091-c3fa-7d0d-c2e98c9bee7b"
Then the response status code should be 200