mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
13db3bd3f0
Currently, the following code doesn't work: ```ruby DatabaseCleaner[:mongo].strategy = :truncation RSpec.configure do |config| config.around do |example| DatabaseCleaner.cleaning do example.run end end end ``` The causes are: 1. `DatabaseCleaner::ORMAutodetector` doesn't consider `:mongo` option 2. `DatabaseCleaner::Mongo::Truncation` doesn't respond to `#cleaning` |
||
---|---|---|
.. | ||
database_cleaner | ||
support | ||
rcov.opts | ||
spec_helper.rb |