summaryrefslogtreecommitdiff
path: root/spec/features/projects/blobs
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-04-14 12:08:53 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-04-14 12:08:53 +0000
commit8a5138ed7d38ccff8b5ca2fe0f7bbb77f8fdaad3 (patch)
tree4c0d373c990fc01cacff9b4093366ab398fcb7d3 /spec/features/projects/blobs
parent6d8f30ab0ae82678f10450d2158f24772f0c765c (diff)
downloadgitlab-ce-8a5138ed7d38ccff8b5ca2fe0f7bbb77f8fdaad3.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/blobs')
-rw-r--r--spec/features/projects/blobs/blame_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/projects/blobs/blame_spec.rb b/spec/features/projects/blobs/blame_spec.rb
index d3558af81b8..6f5bf8ac26e 100644
--- a/spec/features/projects/blobs/blame_spec.rb
+++ b/spec/features/projects/blobs/blame_spec.rb
@@ -44,7 +44,7 @@ RSpec.describe 'File blame', :js, feature_category: :projects do
context 'when blob length is over the blame range limit' do
before do
- stub_const('Projects::BlameService::PER_PAGE', 2)
+ stub_const('Gitlab::Git::BlamePagination::PAGINATION_PER_PAGE', 2)
end
it 'displays two first lines of the file with pagination' do
@@ -112,7 +112,7 @@ RSpec.describe 'File blame', :js, feature_category: :projects do
context 'when streaming is enabled' do
before do
- stub_const('Projects::BlameService::STREAMING_PER_PAGE', 50)
+ stub_const('Gitlab::Git::BlamePagination::STREAMING_PER_PAGE', 50)
end
it_behaves_like 'a full blame page'
@@ -143,7 +143,7 @@ RSpec.describe 'File blame', :js, feature_category: :projects do
context 'when blob length is over global max page limit' do
before do
- stub_const('Projects::BlameService::PER_PAGE', 200)
+ stub_const('Gitlab::Git::BlamePagination::PAGINATION_PER_PAGE', 200)
end
let(:path) { 'files/markdown/ruby-style-guide.md' }