debian-mirror-gitlab/spec/workers/update_container_registry_info_worker_spec.rb
2023-05-27 22:25:52 +05:30

16 lines
398 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe UpdateContainerRegistryInfoWorker, feature_category: :container_registry 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