Scenario:
Given I send and accept JSON
When I send a POST request to "/cards" with the following:
"""
{
"first_name":"Anthony",
"last_name":"Eden",
"display_name":"Anthony Eden",
"emails":[
{
"address_type":"personal",
"address":"
[email protected]"
},
{
"address_type":"work",
"address":"
[email protected]"
}
]
}
"""
Then the response status should be "201"
And the response body should be a JSON representation of the Card
Friday, October 7, 11