Sha256: 1949b6dbaf8d13b9503feb12f03ea5c1863217fe4973913e5fcfef901b4830b5
Contents?: true
Size: 513 Bytes
Versions: 8
Compression:
Stored size: 513 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe GeoblacklightSidecarImages::StoreImageJob, type: :job do let(:document) { SolrDocument.new(document_attributes) } describe '#perform_later' do let(:document_attributes) { json_data('umn_iiif_jpg') } it 'stores an image' do ActiveJob::Base.queue_adapter = :test expect { GeoblacklightSidecarImages::StoreImageJob.perform_later(document.id) }.to have_enqueued_job(GeoblacklightSidecarImages::StoreImageJob) end end end
Version data entries
8 entries across 8 versions & 1 rubygems