Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-28 09:07:45 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-28 09:07:45 +0300
commit6047d21a899cba25dfb554cca1776fed689dc951 (patch)
treeafc5785b2deb50393df933546c090f6568b38fe8 /spec/serializers
parent9d01bd9d462eccffda96e5dcc1caeb8b86e0efe8 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/paginated_diff_entity_spec.rb7
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