database_cleaner/spec
Fumiaki MATSUSHIMA 13db3bd3f0 Fix :mongo strategy
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`
2020-05-04 12:05:15 -07:00
..
database_cleaner Fix :mongo strategy 2020-05-04 12:05:15 -07:00
support get rspec tests running in ar adapter gem. 2018-11-20 21:01:46 -08:00
rcov.opts Update gems 2010-08-08 18:59:44 +01:00
spec_helper.rb disable RSpec monkeypatching. 2018-04-30 19:44:09 -07:00