Commit b7509c46 authored by James Lopez's avatar James Lopez

Merge branch '214766-licenses-pagination' into 'master'

Add spec to ensure pagination headers are present

See merge request gitlab-org/gitlab!30301
parents 428b4bb0 b237b6b8
......@@ -73,6 +73,10 @@ describe Projects::LicensesController do
expect(json_response['report']['status']).to eq('ok')
end
it 'includes the pagination headers' do
expect(response).to include_pagination_headers
end
context 'with pagination params' do
let(:params) { { namespace_id: project.namespace, project_id: project, per_page: 3, page: 2 } }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment