Created
October 24, 2012 19:15
-
-
Save aslakhellesoy/3948205 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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