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

Fix NestedRelatedItem#to_html tests #178

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Fix NestedRelatedItem#to_html tests #178

merged 1 commit into from
Dec 11, 2023

Conversation

corylown
Copy link
Contributor

I noticed that even when NestedRelatedItem#to_html method was removed in #155 that the tests for it were still in the spec and were passing. This PR refactors the tests so they will fail if the method is removed or modified in a way that breaks the expected behavior, hopefully preventing future regressions.

@corylown corylown changed the title Fix ModsDisplay::NestedRelatedItem#to_html tests Fix NestedRelatedItem#to_html tests Dec 11, 2023
@jcoyne jcoyne merged commit 947de6b into main Dec 11, 2023
4 checks passed
@jcoyne jcoyne deleted the corylown-patch-1 branch December 11, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants