Sha256: 2919e7c0363b354abe837855a287bcf82539974a0732d7cd6b293ec57c1c72d1
Contents?: true
Size: 397 Bytes
Versions: 13
Compression:
Stored size: 397 Bytes
Contents
require 'database_cleaner/generic/base' module DatabaseCleaner module MongoMapper def self.available_strategies %w[truncation] end def self.default_strategy :truncation end module Base include ::DatabaseCleaner::Generic::Base def db=(desired_db) @db = desired_db end def db @db ||= :default end end end end
Version data entries
13 entries across 13 versions & 2 rubygems