Sha256: 0dba7c4f9f20069b338f15b96330dbddec50f9a85025c3927efe71a13e7a6787
Contents?: true
Size: 535 Bytes
Versions: 6
Compression:
Stored size: 535 Bytes
Contents
require 'spec_helper' require 'uri' describe GeoWorks::GeoblacklightJob do let(:message) { { 'id' => 'ab', 'event' => 'CREATED' } } describe '#perform' do let(:processor) { instance_double('GeoWorks::GeoblacklightEventProcessor') } context 'local image file' do it 'delegates to DeliveryService' do expect(GeoWorks::GeoblacklightEventProcessor).to receive(:new).with(message).and_return(processor) expect(processor).to receive(:process) subject.perform(message) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems