Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates iiif_manifest_presenter_spec for Valkyrie. #6446

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

bwatson78
Copy link
Contributor

Fixes

Fixes spec/presenters/hyrax/iiif_manifest_presenter_spec.rb

Summary

Updates iiif_manifest_presenter_spec for Valkyrie.

Type of change (for release notes)

  • notes-valkyrie Valkyrie Progress

Changes proposed in this pull request:

  • Adds Koppie-specific testing, but maintains old testing methodology since errors arise tied to missing methods when jumping to Valkyrie.
  • Refactors some repetitive code into shared examples, context and rspec methods.

@samvera/hyrax-code-reviewers

@bwatson78 bwatson78 added valkyrization notes-valkyrie Release Notes: Valkyrie specific labels Nov 14, 2023
@bwatson78 bwatson78 self-assigned this Nov 14, 2023
FactoryBot.valkyrie_create(:hyrax_file_set,
files: [second_file_metadata],
visibility_setting: Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_AUTHENTICATED)
end
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: the above code is the only setup that doesn't automatically create FileSets with the mime_type of octet streams.

@bwatson78 bwatson78 force-pushed the updates_iiif_manifest_presenter_spec branch 2 times, most recently from 605b79c to 6374da0 Compare November 16, 2023 13:38
@dlpierce
Copy link
Contributor

I'm going to fix this up to not need the koppie switches.

@dlpierce dlpierce force-pushed the updates_iiif_manifest_presenter_spec branch from 6374da0 to d5bf57b Compare November 19, 2023 04:04
@no-reply no-reply merged commit 794b45d into main Nov 20, 2023
4 checks passed
@no-reply no-reply deleted the updates_iiif_manifest_presenter_spec branch November 20, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-valkyrie Release Notes: Valkyrie specific valkyrization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants