项目作者: DatabaseCleaner

项目描述 :
Strategies for cleaning Mongo databases in Ruby. Can be used to ensure a clean state for testing.
高级语言: Ruby
项目地址: git://github.com/DatabaseCleaner/database_cleaner-mongo.git
创建时间: 2016-05-16T01:52:11Z
项目社区:https://github.com/DatabaseCleaner/database_cleaner-mongo

开源协议:MIT License

下载


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

  1. # Gemfile
  2. group :test do
  3. gem 'database_cleaner-mongo'
  4. end

Supported Strategies

The mongo adapter only has one strategy: the deletion strategy.

Configuration options

The deletion strategy has no options.

See LICENSE for details.