diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2018-08-26 19:02:09 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2019-01-31 13:49:50 +0100 |
commit | f17d10c451138f801176e2bde3f8bc9ba31823e9 (patch) | |
tree | 68a24a2860895907c78baedba723b9463eb47fcf /spec/requests | |
parent | cc6d45997263fa5110924856fdf04c870a482daf (diff) | |
download | gitlab-ce-f17d10c451138f801176e2bde3f8bc9ba31823e9.tar.gz |
Use a schema matcher to capture all entity members
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/group_labels_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/api/group_labels_spec.rb b/spec/requests/api/group_labels_spec.rb index 3eeeae2aaca..8e368a0ce39 100644 --- a/spec/requests/api/group_labels_spec.rb +++ b/spec/requests/api/group_labels_spec.rb @@ -14,6 +14,7 @@ describe API::GroupLabels do get api("/groups/#{group.id}/labels", user) expect(response).to have_gitlab_http_status(200) + expect(response).to match_response_schema('public_api/v4/group_labels') expect(response).to include_pagination_headers expect(json_response).to be_an Array expect(json_response.size).to eq(2) |