diff options
author | Robert Speicher <robert@gitlab.com> | 2018-02-21 19:51:10 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-02-21 19:51:10 +0300 |
commit | 94ac29f66d78e949b50e353c8ba4827bd33084ce (patch) | |
tree | 751730574b0a88822d555970f9a2db1fb684f2cc /spec | |
parent | 3487441b9a7058e143814a4fd64b4125a4fcc8a8 (diff) | |
parent | 0dafea8685f0376d4c474f7670a97d0b8e449767 (diff) |
Merge branch 'add-pagination-commit-diffs' into 'master'
Add missing pagination on the commit diff endpoint
Closes #43370
See merge request gitlab-org/gitlab-ce!17203
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/commits_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/api/commits_spec.rb b/spec/requests/api/commits_spec.rb index 31959d28fee..ad3eec88952 100644 --- a/spec/requests/api/commits_spec.rb +++ b/spec/requests/api/commits_spec.rb @@ -698,6 +698,7 @@ describe API::Commits do get api(route, current_user) expect(response).to have_gitlab_http_status(200) + expect(response).to include_pagination_headers expect(json_response.size).to be >= 1 expect(json_response.first.keys).to include 'diff' end |