We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In RSpec testing, we need to clear:
test
/test
scholarspace_test
For convenience, we have a support file doing this for the test database (https://github.com/gwu-libraries/scholarspace-hyrax/blob/master/spec/support/database_cleaner.rb) and should set up similar support files for cleaning Fedora with ActiveFedora::Cleaner.clean! and Solr with:
ActiveFedora::Cleaner.clean!
let(:solr) { Blacklight.default_index.connection } solr.delete_by_query("*:*") solr.commit
Or a similar setup.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In RSpec testing, we need to clear:
test
database/test
base path for fedorascholarspace_test
solr core.For convenience, we have a support file doing this for the
test
database (https://github.com/gwu-libraries/scholarspace-hyrax/blob/master/spec/support/database_cleaner.rb) and should set up similar support files for cleaning Fedora withActiveFedora::Cleaner.clean!
and Solr with:Or a similar setup.
The text was updated successfully, but these errors were encountered: