Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

Contributors

AltStyle によって変換されたページ (->オリジナル) /