From a421a390f2f2be16dac9e5015aea6ce48fa748f0 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Tue, 5 Mar 2024 16:59:25 -0600 Subject: [PATCH] Remove test about SolrDocument from a component test This isn't an appropriate place to test this method. This was added in 6837a2206ce0d9492334659c68668a9034bae39b --- .../components/access_panels/at_the_library_component_spec.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/components/access_panels/at_the_library_component_spec.rb b/spec/components/access_panels/at_the_library_component_spec.rb index 09f2194f4..c0b0615db 100644 --- a/spec/components/access_panels/at_the_library_component_spec.rb +++ b/spec/components/access_panels/at_the_library_component_spec.rb @@ -116,10 +116,6 @@ render_inline(described_class.new(document:)) end - it 'has solr document eresources_library_display_name of nil' do - expect(document.eresources_library_display_name).to be_nil - end - it 'displays the MARC 590 as a bound with note (excluding subfield $c)' do expect(page).to have_css('.bound-with-note.note-highlight a', text: 'Copy 1 bound with v. 140') expect(page).to have_no_css('.bound-with-note.note-highlight', text: '55523 (parent record’s ckey)')