Created
May 21, 2019 13:23
-
-
Save beyondxscratch/3a2a00e7e26e64a350c0b06fb4fb081e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Profile endpoint | |
Scenario: creating a profile | |
Given path 'profiles' | |
And request | |
""" | |
{ "topics": [{"name": "DDD"},{"name": "Hexagonal Architecture"}],"talksFormats": ["QUICKIE","CONFERENCE"] } | |
""" | |
When method post | |
Then assert responseStatus == 201 | |
And match responseHeaders['Location'] contains only (profilesUrl + userId) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment