Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsburgermeister authored Apr 3, 2017
1 parent d0b7e29 commit d24e045
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions create_new_poll_test_script.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tests["Status code is 201"] = responseCode.code === 201;
tests["Location Header is present"] = postman.getResponseHeader("Location");
tests["Content-Type is application/json;charset=UTF-8"] = postman.getResponseHeader("Content-Type") === "application/json;charset=UTF-8";
tests["Response Body Contains number"] = responseBody.has("number");
tests["Response Body Contains name"] = responseBody.has("name");

0 comments on commit d24e045

Please sign in to comment.