Sha256: dedaa292e6c3398509512aa9d30a7c95f91df1553f455dbe716b56c4a3284de9

Contents?: true

Size: 452 Bytes

Versions: 4

Compression:

Stored size: 452 Bytes

Contents

require 'database_cleaner/mongoid/base'
require 'database_cleaner/generic/truncation'
require 'database_cleaner/mongo/truncation'

module DatabaseCleaner
  module Mongoid
    class Truncation
      include ::DatabaseCleaner::Mongoid::Base
      include ::DatabaseCleaner::Generic::Truncation
      include ::DatabaseCleaner::Mongo::Truncation

      private

      def database
        ::Mongoid.database
      end

  end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
surgical_strike-0.7.7 lib/database_cleaner/mongoid/truncation.rb
surgical_strike-0.7.6 lib/database_cleaner/mongoid/truncation.rb
surgical_strike-0.7.5 lib/database_cleaner/mongoid/truncation.rb
surgical_strike-0.7.4 lib/database_cleaner/mongoid/truncation.rb