From aa6ea354d3fd7f7ebdee8d713236a286668696a8 Mon Sep 17 00:00:00 2001 From: Daniel Pierce Date: Thu, 10 Oct 2024 14:14:54 -0400 Subject: [PATCH] Include valkyrie in :clean_repo --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0d160047e6..3a250a48a3 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -324,7 +324,7 @@ def clean_active_fedora_repository end config.before(:example, :clean_repo) do - clean_active_fedora_repository unless Hyrax.config.disable_wings + Hyrax.config.disable_wings ? Hyrax.persister.wipe! : clean_active_fedora_repository Hyrax::RedisEventStore.instance.then(&:flushdb) # Not needed to clean the Solr core used by ActiveFedora since # clean_active_fedora_repository will wipe that core