Sha256: 9452f15ca4d248286ca66720ccec0fe7bba474244e502effcdc36d37d064d0d4
Contents?: true
Size: 533 Bytes
Versions: 16
Compression:
Stored size: 533 Bytes
Contents
# frozen_string_literal: true 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
16 entries across 16 versions & 1 rubygems