Skip to content

Commit

Permalink
Merge pull request #4974 from sul-dlss/unnecessary-spec-code
Browse files Browse the repository at this point in the history
Remove unnecessary stubbing
  • Loading branch information
aaron-collier authored May 8, 2024
2 parents b99ddcc + fbc6690 commit 017da15
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions spec/services/publish/dublin_core_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
build(:dro, id: 'druid:bc123df4567').new(description:)
end
let(:desc_md_xml) { Publish::PublicDescMetadataService.new(cocina_object).ng_xml(include_access_conditions: false) }
let(:solr_client) { instance_double(RSolr::Client, get: solr_response) }
let(:solr_response) { { 'response' => { 'docs' => virtual_object_solr_docs } } }
let(:virtual_object_solr_docs) { [] }

before do
allow(SolrService.instance).to receive(:conn).and_return(solr_client)
end

describe '#ng_xml' do
subject(:xml) { service.ng_xml }
Expand Down

0 comments on commit 017da15

Please sign in to comment.