Sha256: 3949c5a597cdcff413ebd75612528d4fa3e08c58be9bb8a0c8571ddd93d6d032
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 Bytes
Contents
require 'spec_helper' describe GeoConcerns::DeliveryService do let(:id) { 'abc123' } let(:filename) { 'somewhere-to-display-copy' } context '#publish' do it 'dispatches to Geoserver delivery' do dbl = double expect(subject).to receive(:geoserver).and_return(dbl) expect(dbl).to receive(:publish).with(id, filename) subject.publish(id, filename) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
geo_concerns-0.0.8 | spec/services/geo_concerns/delivery_service_spec.rb |