diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-16 21:25:58 +0300 |
commit | a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (patch) | |
tree | fb69158581673816a8cd895f9d352dcb3c678b1e /spec/lib/gitlab/pagination/gitaly_keyset_pager_spec.rb | |
parent | d16b2e8639e99961de6ddc93909f3bb5c1445ba1 (diff) |
Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42
Diffstat (limited to 'spec/lib/gitlab/pagination/gitaly_keyset_pager_spec.rb')
-rw-r--r-- | spec/lib/gitlab/pagination/gitaly_keyset_pager_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/lib/gitlab/pagination/gitaly_keyset_pager_spec.rb b/spec/lib/gitlab/pagination/gitaly_keyset_pager_spec.rb index 132a0e9ca78..8a26e153385 100644 --- a/spec/lib/gitlab/pagination/gitaly_keyset_pager_spec.rb +++ b/spec/lib/gitlab/pagination/gitaly_keyset_pager_spec.rb @@ -108,7 +108,6 @@ RSpec.describe Gitlab::Pagination::GitalyKeysetPager do let(:expected_next_page_link) { %Q(<#{incoming_api_projects_url}?#{query.merge(page_token: branch2.name).to_query}>; rel="next") } it 'uses keyset pagination and adds link headers' do - expect(request_context).to receive(:header).with('Links', expected_next_page_link) expect(request_context).to receive(:header).with('Link', expected_next_page_link) pager.paginate(finder) @@ -119,7 +118,6 @@ RSpec.describe Gitlab::Pagination::GitalyKeysetPager do let(:branches) { [branch1] } it 'uses keyset pagination without link headers' do - expect(request_context).not_to receive(:header).with('Links', anything) expect(request_context).not_to receive(:header).with('Link', anything) pager.paginate(finder) |