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

Expanding Bulkrax::EntrySpecHelper to handle collections #742

Merged
merged 3 commits into from
Feb 17, 2023

Conversation

jeremyf
Copy link
Contributor

@jeremyf jeremyf commented Feb 15, 2023

Prior to this, you couldn't specify the type of entry you wanted to test (only the :entry_class). With this change, you can specify which type you want to test.

@jeremyf jeremyf added patch-ver for release notes enhancement for release notes (New feature or request) labels Feb 16, 2023
Prior to this, you couldn't specify the type of entry you wanted to
test (only the :entry_class).  With this change, you can specify which
type you want to test.
lib/bulkrax/entry_spec_helper.rb Outdated Show resolved Hide resolved
lib/bulkrax/entry_spec_helper.rb Outdated Show resolved Hide resolved
@jeremyf jeremyf merged commit c80745c into main Feb 17, 2023
@jeremyf jeremyf deleted the improving-entry-spec-handler branch March 16, 2023 17:23
jeremyf added a commit to scientist-softserv/adventist_knapsack that referenced this pull request Oct 4, 2023
This commit includes two things:

1. Favor Bulkrax::EntrySpecHelper provided by Bulkrax (for which the
   removed code was a prototype).
2. Use the existing spec to determine what the default work type should
   be (instead of relying on a random assignment based on the first
   element of the registered curation concerns)

And from this commit, we have a passing test!

Related to:

- https://github.com/scientist-softserv/adventist-dl/issues/538
- samvera/bulkrax#726
- samvera/bulkrax#719
- samvera/bulkrax#742
- samvera/hyku#1811
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement for release notes (New feature or request) patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants