Sha256: cce5b652cd5477b09ea8ef44f368a06f05e913de53e45f919a2134f94d78a73f

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

describe GeoblacklightSidecarImages::SolrDocumentSidecar do
  let(:document) { SolrDocument.new(document_attributes) }

  describe '#sidecar' do
    let(:document_attributes) { json_data('umn_iiif_jpg') }

    it 'responds to image method' do
      expect(document.sidecar).to respond_to :image
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geoblacklight_sidecar_images-0.6.5 spec/models/solr_document_sidecar_spec.rb
geoblacklight_sidecar_images-0.6.4 spec/models/solr_document_sidecar_spec.rb
geoblacklight_sidecar_images-0.6.2 spec/models/solr_document_sidecar_spec.rb
geoblacklight_sidecar_images-0.6.1 spec/models/solr_document_sidecar_spec.rb
geoblacklight_sidecar_images-0.6.0 spec/models/solr_document_sidecar_spec.rb