diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-28 09:07:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-28 09:07:45 +0300 |
commit | 6047d21a899cba25dfb554cca1776fed689dc951 (patch) | |
tree | afc5785b2deb50393df933546c090f6568b38fe8 /spec/serializers | |
parent | 9d01bd9d462eccffda96e5dcc1caeb8b86e0efe8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers')
-rw-r--r-- | spec/serializers/paginated_diff_entity_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/serializers/paginated_diff_entity_spec.rb b/spec/serializers/paginated_diff_entity_spec.rb index 732a77ef604..f408deb734e 100644 --- a/spec/serializers/paginated_diff_entity_spec.rb +++ b/spec/serializers/paginated_diff_entity_spec.rb @@ -24,12 +24,7 @@ RSpec.describe PaginatedDiffEntity do end it 'exposes pagination data' do - expect(subject[:pagination]).to eq( - current_page: nil, - next_page: nil, - next_page_href: nil, - total_pages: 20 - ) + expect(subject[:pagination]).to eq(total_pages: 20) end context 'when there are conflicts' do |