spec/support/solr_support.rb in blacklight-access_controls-0.5.1 vs spec/support/solr_support.rb in blacklight-access_controls-0.6.0
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
module SolrSupport
-
def create_solr_doc(hash)
doc = SolrDocument.new(hash)
solr = Blacklight.default_index.connection
solr.add(doc)
solr.commit
doc
end
-
end