16 lines
359 B
Ruby
16 lines
359 B
Ruby
# 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
|