Commit b237b6b8 authored by mo khan's avatar mo khan

Add spec to ensure pagination headers are present

parent 0a4c1ce4
......@@ -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