From ddc092aeb82be655cca9a996fabd4012d5f6be61 Mon Sep 17 00:00:00 2001 From: tamsin johnson Date: Wed, 29 Jun 2022 13:45:55 -0700 Subject: [PATCH] test model sensitive collection behavior for relationships views relationship specs shouldn't try to check behavior for "Collection" when that model is disabled in favor of `Hyrax::PcdmCollection`. --- spec/views/hyrax/base/_relationships.html.erb_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/views/hyrax/base/_relationships.html.erb_spec.rb b/spec/views/hyrax/base/_relationships.html.erb_spec.rb index 4bd871856e..b631fe1abb 100644 --- a/spec/views/hyrax/base/_relationships.html.erb_spec.rb +++ b/spec/views/hyrax/base/_relationships.html.erb_spec.rb @@ -35,7 +35,7 @@ Hyrax::CollectionPresenter.new( SolrDocument.new( id: '345', - has_model_ssim: ['Collection'], + has_model_ssim: [Hyrax.config.collection_model], title_tesim: ['Containing collection'] ), ability