diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-18 12:15:35 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-18 12:15:35 +0200 |
commit | d59255a66fba0b59982e034c8268d12658c82902 (patch) | |
tree | 3675ada534ae9b399dd9b53f32d4946856ee0357 /spec/fixtures/api/schemas | |
parent | d86bbe012644c672874ccd99d68847b751c4b635 (diff) | |
download | gitlab-ce-d59255a66fba0b59982e034c8268d12658c82902.tar.gz |
Improve the Users API specs by asserting against the response schemarc/improve-users-api-specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/fixtures/api/schemas')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/user/admins.json | 4 | ||||
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/user/basics.json | 4 |
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" } +} |