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>2020-07-20 15:09:34 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-20 15:09:34 +0300
commitc780abc85fd718ffa4f922aa9db826543fd49d36 (patch)
tree499d968986370fe898962c0b3a99f3f48b804985 /spec/services/wiki_pages
parenta7608a4940a91e14754d56a7acbe496321fed99c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/wiki_pages')
-rw-r--r--spec/services/wiki_pages/event_create_service_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/services/wiki_pages/event_create_service_spec.rb b/spec/services/wiki_pages/event_create_service_spec.rb
index abf3bcb4c4d..974f2591763 100644
--- a/spec/services/wiki_pages/event_create_service_spec.rb
+++ b/spec/services/wiki_pages/event_create_service_spec.rb
@@ -12,7 +12,8 @@ RSpec.describe WikiPages::EventCreateService do
let_it_be(:page) { create(:wiki_page, project: project) }
let(:slug) { generate(:sluggified_title) }
let(:action) { :created }
- let(:response) { subject.execute(slug, page, action) }
+ let(:fingerprint) { page.sha }
+ let(:response) { subject.execute(slug, page, action, fingerprint) }
context 'the user is nil' do
subject { described_class.new(nil) }