From 9c1c42e858ec47a975cd102230d5ee68d9de296e Mon Sep 17 00:00:00 2001 From: Ayoub Belemlih <13107510+abelemlih@users.noreply.github.com> Date: Fri, 1 Dec 2023 14:10:10 -0600 Subject: [PATCH] Edit select_type_list_presenter_spec.rb --- spec/presenters/hyrax/select_type_list_presenter_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/presenters/hyrax/select_type_list_presenter_spec.rb b/spec/presenters/hyrax/select_type_list_presenter_spec.rb index 7e0540a2eb..32eb1fa41d 100644 --- a/spec/presenters/hyrax/select_type_list_presenter_spec.rb +++ b/spec/presenters/hyrax/select_type_list_presenter_spec.rb @@ -33,6 +33,6 @@ subject { instance.first_model } - it { is_expected.to be GenericWork } + it { is_expected.to be(GenericWork).or be(Monograph) } end end