diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index 70800107a..5993aeb5d 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -151,7 +151,7 @@ ActiveFedora::SolrService.reset! # Pass `:clean' (or hyrax's convention of :clean_repo) to destroy objects in fedora/solr and # start from scratch - if example.metadata[:clean] || example.metadata[:clean_repo] + if example.metadata[:clean] || example.metadata[:clean_repo] || example.metadata[:type] == :feature ## We don't need to do `Hyrax::SolrService.wipe!` so long as we're using `ActiveFedora.clean!`; ## but Valkyrie is coming so be prepared. # Hyrax::SolrService.wipe!