Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
LaRita Robinson committed Sep 25, 2024
1 parent a968af6 commit 50987c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def build
presenter_class.for(solr_doc)
elsif Hyrax.config.curation_concerns.include?(solr_doc.hydra_model)
# look up file set ids and loop through those
file_set_docs = load_file_set_docs(load_file_set_ids)
file_set_docs = load_file_set_docs(load_file_set_ids(solr_doc))
file_set_docs.map { |doc| presenter_class.for(doc) } if file_set_docs.length
end
end.flatten.compact
Expand Down
1 change: 1 addition & 0 deletions spec/factories/newspaper_page_solr_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
title_tesim: ['Page 1'],
has_model_ssim: ['NewspaperPage'],
issue_id_ssi: 'abc123',
member_ids_ssim: [file_set.id],
descendent_member_ids_ssim: [file_set.id],
thumbnail_path_ss: '/downloads/123456?file=thumbnail')
end
Expand Down

0 comments on commit 50987c2

Please sign in to comment.