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
9
tests/hurl/notes/get_one_accept_markdown.hurl
Normal file
9
tests/hurl/notes/get_one_accept_markdown.hurl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Accept: text/markdown returns the raw file bytes verbatim.
|
||||
GET {{host}}/notes/README.md
|
||||
Accept: text/markdown
|
||||
HTTP 200
|
||||
[Asserts]
|
||||
header "Content-Type" startsWith "text/markdown"
|
||||
header "ETag" exists
|
||||
body startsWith "---\ntags: [demo, readme]\ndate: 2026-05-01\nstatus: published\n---\n"
|
||||
body contains "Fixture vault README. Used by the hurl contract harness."
|
||||
Loading…
Add table
Add a link
Reference in a new issue