Sha256: 574d98efc4972c6e4e957c0b806e2ebfc47fa168433817578d742f6636bc9989
Contents?: true
Size: 513 Bytes
Versions: 4
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
4 entries across 4 versions & 1 rubygems