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-03-12 18:09:33 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-12 18:09:33 +0300
commit006000e366ad5dc61966770d33e3afd4c07e728d (patch)
tree2724bc1cd73a6f829d62f5ca68a423b921bd1af8 /spec/benchmarks/banzai_benchmark.rb
parent26e44c6225a19c3ec4e7d607f92b16d42b437c80 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/benchmarks/banzai_benchmark.rb')
-rw-r--r--spec/benchmarks/banzai_benchmark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/benchmarks/banzai_benchmark.rb b/spec/benchmarks/banzai_benchmark.rb
index a87414ba512..4cf079b2130 100644
--- a/spec/benchmarks/banzai_benchmark.rb
+++ b/spec/benchmarks/banzai_benchmark.rb
@@ -56,7 +56,7 @@ RSpec.describe 'GitLab Markdown Benchmark', :aggregate_failures do
it 'benchmarks several pipelines' do
path = 'images/example.jpg'
gitaly_wiki_file = Gitlab::GitalyClient::WikiFile.new(path: path)
- allow(wiki).to receive(:find_file).with(path).and_return(Gitlab::Git::WikiFile.new(gitaly_wiki_file))
+ allow(wiki).to receive(:find_file).with(path, load_content: false).and_return(Gitlab::Git::WikiFile.new(gitaly_wiki_file))
allow(wiki).to receive(:wiki_base_path) { '/namespace1/gitlabhq/wikis' }
puts "\n--> Benchmarking Full, Wiki, and Plain pipelines\n"