Sha256: c25fc671cb4a681d7bd093f54a16f0e541fd7ffe713b5f2bff9b548f1848e9d2

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

# Database Cleaner Adapter for Mongo

[![Build Status](https://travis-ci.org/DatabaseCleaner/database_cleaner-mongo.svg?branch=master)](https://travis-ci.org/DatabaseCleaner/database_cleaner-mongo)
[![Code Climate](https://codeclimate.com/github/DatabaseCleaner/database_cleaner-mongo/badges/gpa.svg)](https://codeclimate.com/github/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

<table>
  <tbody>
    <tr>
      <th>Truncation</th>
      <th>Transaction</th>
      <th>Deletion</th>
    </tr>
    <tr>
      <td> <b>Yes</b></td>
      <td> No</td>
      <td> No</td>
    </tr>
  </tbody>
</table>

(Default strategy is denoted in bold)

## Configuration options

<table>
  <tbody>
    <tr>
      <th>ORM</th>
      <th>How to access</th>
      <th>Notes</th>
    </tr>
    <tr>
      <td> Mongo</td>
      <td> <code>DatabaseCleaner[:mongo]</code></td>
      <td> </td>
    </tr>
  </tbody>
</table>

## COPYRIGHT

See [LICENSE] for details.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
database_cleaner-mongo-1.99.0 README.md
database_cleaner-mongo-1.99.0.beta README.md
database_cleaner-mongo-1.8.1 README.md
database_cleaner-mongo-1.8.0 README.md
database_cleaner-mongo-1.8.0.beta README.md