Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #277 from alphagov/improve-delete-test
Browse files Browse the repository at this point in the history
Improve the delete collection test
  • Loading branch information
robyoung committed May 1, 2014
2 parents 9162581 + e2c91a5 commit 9450fd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/write_api/write_api.feature
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ Feature: the performance platform write api
and I have JSON data '{"capped_size": 4096}'
and I have the bearer token "dev-create-endpoint-token"
when I POST to the specific path "/data-sets/some-dataset"
and I send a DELETE request to "/data-sets/some-dataset"
then the collection called "some-dataset" should exist
when I send a DELETE request to "/data-sets/some-dataset"
then I should get back a status of "200"
and I should get back the message "Deleted some-dataset"
and the collection called "some-dataset" should not exist
Expand Down

0 comments on commit 9450fd5

Please sign in to comment.