Sha256: 1ad49ae4c2009a792f876d741c1b23b91ef9db50bec36ddb9d6e7b4f022c3d4b
Contents?: true
Size: 528 Bytes
Versions: 4
Compression:
Stored size: 528 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Geoblacklight::SolrDocument::Inspection do 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
4 entries across 4 versions & 1 rubygems