Skip to content

Instantly share code, notes, and snippets.

@aslakhellesoy
Created October 24, 2012 19:15
Show Gist options
  • Select an option

  • Save aslakhellesoy/3948205 to your computer and use it in GitHub Desktop.

Select an option

Save aslakhellesoy/3948205 to your computer and use it in GitHub Desktop.
Scenario Outline: Create comments using supported media types
Given I have an existing default incident
And I know the ID for the default incident as "defaultIncidentId"
And my payload type is "<type>" and I am accepting "<type>"
When I POST my payload to "/v1/incidents/{defaultIncidentId}/comments"
Then a response of 201 (CREATED) is returned
Examples:
| type |
| application/json |
| application/json; charset=UTF-8 |
| application/vnd.rackspace.incident-v1+json |
| application/vnd.rackspace.incident-v1+json;charset=UTF-8 |
| application/xml |
| application/xml; charset=UTF-8 |
| application/vnd.rackspace.incident-v1+xml |
| application/vnd.rackspace.incident-v1+xml;charset=UTF-8 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment