summaryrefslogtreecommitdiff
path: root/spec/workers/update_container_registry_info_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/update_container_registry_info_worker_spec.rb')
-rw-r--r--spec/workers/update_container_registry_info_worker_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/workers/update_container_registry_info_worker_spec.rb b/spec/workers/update_container_registry_info_worker_spec.rb
new file mode 100644
index 00000000000..ace9e55cbce
--- /dev/null
+++ b/spec/workers/update_container_registry_info_worker_spec.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe UpdateContainerRegistryInfoWorker do
+ describe '#perform' do
+ it 'calls UpdateContainerRegistryInfoService' do
+ expect_next_instance_of(UpdateContainerRegistryInfoService) do |service|
+ expect(service).to receive(:execute)
+ end
+
+ subject.perform
+ end
+ end
+end