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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,091 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributors 166