Skip to content

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

License

Notifications You must be signed in to change notification settings

DatabaseCleaner/database_cleaner-mongo

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published