Sha256: 6b9c965a58dc5ff124e8f436c72768a4fd702165cd60587971dd7dd65243624d
Contents?: true
Size: 503 Bytes
Versions: 30
Compression:
Stored size: 503 Bytes
Contents
require 'spec_helper' describe Geoblacklight::SolrDocument::Inspection do let(:subject) { SolrDocument.new } describe '#inspectable?' do it 'returns true for wms viewer protocol' do expect(subject).to receive(:viewer_protocol).and_return('wms') expect(subject.inspectable?).to be_truthy end it 'returns false for iiif viewer protocol' do expect(subject).to receive(:viewer_protocol).and_return('iiif') expect(subject.inspectable?).to be_falsy end end end
Version data entries
30 entries across 30 versions & 1 rubygems