Skip to content

Instantly share code, notes, and snippets.

@codesword
Created June 20, 2016 00:04
Show Gist options
  • Save codesword/a2c9927d4281b63dd37c8facfe43fbb8 to your computer and use it in GitHub Desktop.
Save codesword/a2c9927d4281b63dd37c8facfe43fbb8 to your computer and use it in GitHub Desktop.
Scenario: should get a single job role
When I am "authorized"
And there are 2 roles
And I make "GET" request to "/api/v1/roles/1"
Then the response code should be 200
And the response should match json:
"""
{
"id": 1,
"name": "Apprentice",
"level": 1
}
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment