summaryrefslogtreecommitdiff
path: root/yarns/100-projects.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-25 18:58:40 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-25 18:58:40 +0100
commita90f1bf06ef576c0c259139d108f0ceb0c63a729 (patch)
tree5634ebb0fc360d26657cce1e3345dcd12ec4e329 /yarns/100-projects.yarn
parent2d4733f446dd4e62a554bfe637b1d595571842f8 (diff)
downloadick2-a90f1bf06ef576c0c259139d108f0ceb0c63a729.tar.gz
Fix: PUT /projects/foo with no foo existing, now an error
Diffstat (limited to 'yarns/100-projects.yarn')
-rw-r--r--yarns/100-projects.yarn7
1 files changed, 7 insertions, 0 deletions
diff --git a/yarns/100-projects.yarn b/yarns/100-projects.yarn
index de7f9c7..aa04b7a 100644
--- a/yarns/100-projects.yarn
+++ b/yarns/100-projects.yarn
@@ -203,4 +203,11 @@ Creating a new project with the same name is forbidden.
WHEN user makes request GET /projects/website
THEN result has status code 404
+ WHEN user makes request PUT /projects/nosuchproject with a valid token and body
+ ... {
+ ... "project": "nosuchproject",
+ ... "pipelines": []
+ ... }
+ THEN result has status code 404
+
FINALLY stop ick controller