I noticed that even when NestedRelatedItem#to_html method was removed in https://github.com/sul-dlss/mods_display/pull/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.
I noticed that even when
NestedRelatedItem#to_html
method was removed in https://github.com/sul-dlss/mods_display/pull/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.