Sha256: f620df6ae73373ca3d1295daa7313318edf777351c7600408ae1cf99aa99c959
Contents?: true
Size: 638 Bytes
Versions: 20
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Geoblacklight::SolrDocument::Citation do describe '#geoblacklight_citation' do let(:fixture) { JSON.parse(read_fixture('solr_documents/restricted-line.json')) } let(:document) { SolrDocument.new(fixture) } it 'creates a citation' do expect(document.geoblacklight_citation('http://example.com')) .to eq 'United States. National Oceanic and Atmospheric Administration. Circuit Rider Productions. (2002). 10 Meter Contours: Russian River Basin, California. [Shapefile]. Circuit Rider Productions. Retrieved from http://example.com' end end end
Version data entries
20 entries across 20 versions & 1 rubygems