Skip to content

Commit 2210c74

Browse files
authored
Update test.tk.yaml
1 parent 22ec50a commit 2210c74

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test.tk.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
ok: $.resp.json.number == 5
99
ok: $.resp.status == $.env.STATUS
1010
number: $.resp.json.number
11+
1112
- name: fetches TODO items - GET
1213
GET: http://localhost:3000/todos
1314
asserts:
@@ -20,6 +21,7 @@
2021
null: $.resp.json.resp_null
2122
exports:
2223
header: $.resp.json.tasks[0]
24+
2325
- name: TODO ad items - POST
2426
POST: http://localhost:3000/todos
2527
headers:
@@ -32,17 +34,19 @@
3234
ok: $.resp.status == 201
3335
exports:
3436
todoItem: $.resp.json.id
37+
3538
- name: deletes TODO items - DELETE
3639
DELETE: "http://localhost:3000/todos/$.stages[2].todoItem"
3740
asserts:
3841
string: $.resp.json.task
3942
number: $.resp.json.id
4043
ok: $.resp.json.id == $.stages[-1].todoItem
44+
4145
- name: Adds Todo item - POST
4246
POST: http://localhost:3000/todos/
4347
json:
4448
task: "run tests"
4549
asserts:
4650
ok: $.resp.status == 201
4751
ok: $.resp.json.task == "run tests"
48-
#ok: $.resp.json.completed
52+
#ok: $.resp.json.completed

0 commit comments

Comments
 (0)