diff --git a/app/workers/all_queues.yml b/app/workers/all_queues.yml index 28a5e5da037..a9415410f8a 100644 --- a/app/workers/all_queues.yml +++ b/app/workers/all_queues.yml @@ -84,6 +84,7 @@ - new_note - pages - pages_domain_verification +- plugin - post_receive - process_commit - project_cache diff --git a/spec/workers/plugin_worker_spec.rb b/spec/workers/plugin_worker_spec.rb index 29c55482321..d64de05f211 100644 --- a/spec/workers/plugin_worker_spec.rb +++ b/spec/workers/plugin_worker_spec.rb @@ -21,7 +21,7 @@ describe PluginWorker do allow(Gitlab::Plugin).to receive(:execute).with(filename, data).and_raise('Permission denied') - expect { subject.perform(filename, data) }.to_not raise_error + expect { subject.perform(filename, data) }.not_to raise_error end end end