https://github.com/databasecleaner/database_cleaner-mongo
Strategies for cleaning Mongo databases in Ruby. Can be used to ensure a clean state for testing.
https://github.com/databasecleaner/database_cleaner-mongo
database-cleaner mongo rubygems
Last synced: 2 months ago
JSON representation
Strategies for cleaning Mongo databases in Ruby. Can be used to ensure a clean state for testing.
- Host: GitHub
- URL: https://github.com/databasecleaner/database_cleaner-mongo
- Owner: DatabaseCleaner
- License: mit
- Created: 2016-05-16T01:52:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-01-31T23:29:11.000Z (over 4 years ago)
- Last Synced: 2024-04-26T06:53:31.630Z (about 1 year ago)
- Topics: database-cleaner, mongo, rubygems
- Language: Ruby
- Homepage:
- Size: 1.03 MB
- Stars: 2
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Database Cleaner Adapter for Mongo
[](https://travis-ci.org/DatabaseCleaner/database_cleaner-mongo)
[](https://codeclimate.com/github/DatabaseCleaner/database_cleaner-mongo)
[](https://codecov.io/gh/DatabaseCleaner/database_cleaner-mongo)Clean your Mongo databases with Database Cleaner.
See https://github.com/DatabaseCleaner/database_cleaner for more information.
## Installation
```ruby
# 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](LICENSE) for details.