/database_cleaner-mongo

Strategies for cleaning Mongo databases in Ruby. Can be used to ensure a clean state for testing.

Primary LanguageRubyMIT LicenseMIT

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.