fluke/devops-service/tests/templates/api_v2/90_delete/99_key.feature.erb
Anton Chuchkalov 356925de49 add more tests
2015-07-08 17:48:19 +04:00

11 lines
310 B
Plaintext

@key
Feature: Delete key
<% key_name = @fixtures['key']['valid']['key_name'] %>
Scenario: Delete key
When I send DELETE '/v2.0/key/<%= key_name %>' query
Then response should be '200'
And the Content-Type header should include 'application/json'
And the JSON response should be an object