diff options
Diffstat (limited to 'yarns/100-projects.yarn')
-rw-r--r-- | yarns/100-projects.yarn | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/yarns/100-projects.yarn b/yarns/100-projects.yarn index 0aa57b0..de7f9c7 100644 --- a/yarns/100-projects.yarn +++ b/yarns/100-projects.yarn @@ -106,6 +106,15 @@ building them. We start by starting an instance of the controller. ... } AND controller state directory contains project website +Creating a new project with the same name is forbidden. + + WHEN user makes request POST /projects with a valid token and body + ... { + ... "project": "website", + ... "pipelines": [] + ... } + THEN result has status code 409 + WHEN user makes request GET /projects THEN result has status code 200 AND body matches |