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
Not sure if this is fixable, but we have a supporting rails app, that looks for its data in a main's app db. So some models have this code:
class User store_in collection: 'users', session: 'main_app' ...
These collections are not cleaned by DatabseCleaner. To fix this we need to use:
config.after(:each) do DatabaseCleaner[:mongoid].clean Mongoid.session('main_app').collections.each do |collection| collection.drop end end
The text was updated successfully, but these errors were encountered:
database_cleaner 1.5.3 mongo 2.6.10
Sorry, something went wrong.
No branches or pull requests
Not sure if this is fixable, but we have a supporting rails app, that looks for its data in a main's app db.
So some models have this code:
These collections are not cleaned by DatabseCleaner. To fix this we need to use:
The text was updated successfully, but these errors were encountered: