Sha256: 4a0f9c1312b60f6a67ca32da30c0215ffee301b8980167019c2dcb687100ff79

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

require 'rails_helper'

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geoblacklight_sidecar_images-0.0.2 spec/models/solr_document_spec.rb
geoblacklight_sidecar_images-0.0.1 spec/models/solr_document_spec.rb