summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-09-19 08:58:18 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-09-19 08:58:18 +0000
commitcd61d6e6904547c709a78b8404077bab2abfa92a (patch)
tree73e9581058dabc0875616d750208f2deeb62b0b3 /spec/fixtures
parentec370adbe615cd1bd12c31a5fda887e2664ab28d (diff)
parentd59255a66fba0b59982e034c8268d12658c82902 (diff)
downloadgitlab-ce-cd61d6e6904547c709a78b8404077bab2abfa92a.tar.gz
Merge branch 'rc/improve-users-api-specs' into 'master'
Improve the Users API specs by asserting against the response schema See merge request gitlab-org/gitlab-ce!14334
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/user/admins.json4
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/user/basics.json4
2 files changed, 8 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/user/admins.json b/spec/fixtures/api/schemas/public_api/v4/user/admins.json
new file mode 100644
index 00000000000..4a107f0ddbe
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/user/admins.json
@@ -0,0 +1,4 @@
+{
+ "type": "array",
+ "items": { "$ref": "admin.json" }
+}
diff --git a/spec/fixtures/api/schemas/public_api/v4/user/basics.json b/spec/fixtures/api/schemas/public_api/v4/user/basics.json
new file mode 100644
index 00000000000..6f7cf42229d
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/user/basics.json
@@ -0,0 +1,4 @@
+{
+ "type": "array",
+ "items": { "$ref": "basic.json" }
+}