spec/services/blacklight/search_service_spec.rb in blacklight-7.11.1 vs spec/services/blacklight/search_service_spec.rb in blacklight-7.12.0

- old
+ new

@@ -129,11 +129,11 @@ (solr_response, document_list) = service.search_results expect(solr_response.docs).to have(document_list.size).results expect(solr_response.docs).to have_at_least(1).result end # TODO: check that number of these results < number of results for all docs query - # BUT can't: num docs isn't total, it's the num docs in the single SOLR response (e.g. 10) + # BUT can't: num docs isn't total, it's the num docs in the single Solr response (e.g. 10) end describe "for Query Without Results and No Facet" do let(:user_params) { { q: no_docs_query } } @@ -331,13 +331,9 @@ expect(@response2.docs.size).to eq 1 end it 'has the expected value in the id field' do expect(@document.id).to eq doc_id - end - - it 'has non-nil values for required fields set in initializer' do - expect(@document.fetch(blacklight_config.view_config(:show).display_type_field)).not_to be_nil end end describe 'Get multiple documents By Id', integration: true do let(:doc_id) { '2007020969' }