diff options
Diffstat (limited to 'spec/services/wiki_pages/event_create_service_spec.rb')
-rw-r--r-- | spec/services/wiki_pages/event_create_service_spec.rb | 3 |
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) } |