summaryrefslogtreecommitdiff
path: root/yarns/400-build.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-05 12:57:22 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-05 12:57:22 +0100
commit89cc8f3239f824755d9d19b3b5877ff62900b787 (patch)
tree846ebdd4ead54782034c5576c06924c58e953706 /yarns/400-build.yarn
parent9eed0d65ba6ff39aa41a0bfbc3926605416b2dfe (diff)
downloadick2-89cc8f3239f824755d9d19b3b5877ff62900b787.tar.gz
Refactor: change token generation to name the user
Diffstat (limited to 'yarns/400-build.yarn')
-rw-r--r--yarns/400-build.yarn10
1 files changed, 5 insertions, 5 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn
index 0e030fd..31d0377 100644
--- a/yarns/400-build.yarn
+++ b/yarns/400-build.yarn
@@ -27,15 +27,15 @@ Set up the controller.
GIVEN an RSA key pair for token signing
AND controller config uses statedir at the state directory
- AND a running ick controller
-
-Add up a project.
-
- GIVEN an access token for user with scopes
+ AND an access token for user with scopes
... uapi_projects_post
... uapi_projects_id_pipeline_id_put
... uapi_projects_id_pipeline_id_get
... uapi_projects_id_builds_get
+ AND a running ick controller
+
+Add up a project.
+
WHEN user makes request POST /projects
... {
... "project": "rome",