Sha256: 5227e6124c5c0d7262d3fb4cb709ce2099ac0ff5e8e25be09a61464674df32ff
Contents?: true
Size: 335 Bytes
Versions: 77
Compression:
Stored size: 335 Bytes
Contents
require 'database_cleaner/generic/base' module DatabaseCleaner module Mongoid def self.available_strategies %w[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
77 entries across 66 versions & 9 rubygems