The project is in a healthy, maintained state
Strategies for cleaning databases using Mongo. Can be used to ensure a clean state for testing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

Database Cleaner Adapter for Mongo

Build Status Code Climate codecov

Clean your Mongo databases with Database Cleaner.

See https://github.com/DatabaseCleaner/database_cleaner for more information.

Installation

# Gemfile
group :test do
  gem 'database_cleaner-mongo'
end

Supported Strategies

The mongo adapter only has one strategy: the deletion strategy.

Configuration options

The deletion strategy has no options.

COPYRIGHT

See LICENSE for details.