diff options
author | Toon Claes <toon@gitlab.com> | 2017-03-05 08:06:29 +0100 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-03-05 08:06:29 +0100 |
commit | faca3542026d31b68fd8986e5cb19422c181b688 (patch) | |
tree | 700684e3c84112aa735e16d5b2a3f761bd3f5850 | |
parent | 33b956b49f898c447710b3ebe3bfa548e750ab12 (diff) | |
download | gitlab-ce-tc-api-rename-v2.tar.gz |
WIP: Use include_pagination_headers matchertc-api-rename-v2
-rw-r--r-- | spec/requests/api/v3/deployments_spec.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/requests/api/v3/deployments_spec.rb b/spec/requests/api/v3/deployments_spec.rb index 78458d497a6..3c5ce407b32 100644 --- a/spec/requests/api/v3/deployments_spec.rb +++ b/spec/requests/api/v3/deployments_spec.rb @@ -19,13 +19,7 @@ describe API::Deployments, api: true do end it 'has pagination headers' do - expect(response.headers).to include('X-Total') - expect(response.headers).to include('X-Total-Pages') - expect(response.headers).to include('X-Per-Page') - expect(response.headers).to include('X-Page') - expect(response.headers).to include('X-Next-Page') - expect(response.headers).to include('X-Prev-Page') - expect(response.headers).to include('Link') + expect(response).to include_pagination_headers end end |