Sha256: 1b8d04b168ed98e66cf22b66d1cd3ddbc3492c60cbba4fb604cf24ee6bf332fe

Contents?: true

Size: 371 Bytes

Versions: 4

Compression:

Stored size: 371 Bytes

Contents

FactoryBot.define do
  factory :newspaper_page_solr_document, class: SolrDocument do
    initialize_with do
      new(id: '123456',
          title_tesim: ['Page 1'],
          has_model_ssim: ['NewspaperPage'],
          issue_id_ssi: 'abc123',
          file_set_ids_ssim: ['7891011'],
          thumbnail_path_ss: '/downloads/123456?file=thumbnail')
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
iiif_print-1.0.0 spec/factories/newspaper_page_solr_document.rb
newspaper_works-1.0.1 spec/factories/newspaper_page_solr_document.rb
newspaper_works-1.0.0 spec/factories/newspaper_page_solr_document.rb
newspaper_works-0.1.0 spec/factories/newspaper_page_solr_document.rb