summaryrefslogtreecommitdiff
path: root/spec/workers/update_container_registry_info_worker_spec.rb
blob: ace9e55cbce8a7a1b873ae519999d3dc837074b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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