ANW-20 hurl HTTP contract-test harness
This commit is contained in:
parent
ec650e6c66
commit
b4a33abd71
50 changed files with 415 additions and 2 deletions
7
tests/hurl/query/exists_false.hurl
Normal file
7
tests/hurl/query/exists_false.hurl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# __exists=false: matches every note that lacks the key.
|
||||
GET {{host}}/query?deprecated__exists=false&kind__exists=false&author__exists=false&date__exists=false&purpose__exists=false&tag__exists=false&when__exists=false&tags__exists=false&title__exists=false&status__exists=false
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
# no-frontmatter.md is the only note with no keys at all.
|
||||
jsonpath "$.total" == 1
|
||||
jsonpath "$.results[0].path" == "no-frontmatter.md"
|
||||
Loading…
Add table
Add a link
Reference in a new issue