diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-14 12:07:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-14 12:07:53 +0300 |
commit | c7ad2610df033b370845995ac3bbe269a191d9bb (patch) | |
tree | eb82256802229e6ea2ee3648e04dd4b8125e3927 /spec/workers | |
parent | 1c4773ed84d97c9577c0aa396a948b176a3c761b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/post_receive_spec.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/workers/post_receive_spec.rb b/spec/workers/post_receive_spec.rb index 3ad8eced2b3..aab7a36189a 100644 --- a/spec/workers/post_receive_spec.rb +++ b/spec/workers/post_receive_spec.rb @@ -471,4 +471,17 @@ describe PostReceive do it_behaves_like 'snippet changes actions' end end + + describe 'processing design changes' do + let(:gl_repository) { "design-#{project.id}" } + + it 'does not do anything' do + worker = described_class.new + + expect(worker).not_to receive(:process_wiki_changes) + expect(worker).not_to receive(:process_project_changes) + + described_class.new.perform(gl_repository, key_id, base64_changes) + end + end end |