Skip to content

Commit

Permalink
Fix rubocop.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Apr 25, 2018
1 parent 1146523 commit df7d755
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/services/iiif_manifest_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
let(:url) { 'uri://some_id/manifest' }
let(:collection) { instance_double(Spotlight::Resources::IiifManifest) }
let(:manifest_fixture) { test_manifest1 }

before do
allow(collection).to receive(:compound_id).and_return('1')
stub_iiif_response_for_url(url, manifest_fixture)
Expand All @@ -14,6 +15,7 @@
describe '#to_solr' do
let(:manifest) { IiifService.new(url).send(:object) }
let(:exhibit) { FactoryBot.create(:exhibit) }

describe 'sort_title' do
it 'is a single-value text field' do
expect(manifest_service.to_solr["sort_title_ssi"]).to eq "Test Manifest 1"
Expand Down

0 comments on commit df7d755

Please sign in to comment.