spec/helpers/spotlight/pages_helper_spec.rb in blacklight-spotlight-2.4.1 vs spec/helpers/spotlight/pages_helper_spec.rb in blacklight-spotlight-2.5.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + describe Spotlight::PagesHelper, type: :helper do let(:blacklight_config) { Blacklight::Configuration.new { |config| config.show.title_field = :abc } } let(:titled_document) { blacklight_config.document_model.new(abc: 'value') } let(:untitled_document) { blacklight_config.document_model.new(id: '1234') } let!(:current_exhibit) { FactoryBot.create(:exhibit) }