Sha256: 9fcfc747ad81e53f2b9b0e50a67bbfede0dd8600e68968076266eb6b1c5de443

Contents?: true

Size: 368 Bytes

Versions: 14

Compression:

Stored size: 368 Bytes

Contents

require 'database_cleaner/mongo/base'
require 'database_cleaner/generic/truncation'
require 'database_cleaner/mongo/truncation_mixin'
module DatabaseCleaner
  module Mongo
    class Truncation
      include ::DatabaseCleaner::Generic::Truncation
      include TruncationMixin
      include Base
      private

      def database
        db
      end
    end
  end
end

Version data entries

14 entries across 9 versions & 3 rubygems

Version Path
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/database_cleaner-1.2.0/lib/database_cleaner/mongo/truncation.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/database_cleaner-1.2.0/lib/database_cleaner/mongo/truncation.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/database_cleaner-1.2.0/lib/database_cleaner/mongo/truncation.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/database_cleaner-1.2.0/lib/database_cleaner/mongo/truncation.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/database_cleaner-1.2.0/lib/database_cleaner/mongo/truncation.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/database_cleaner-1.2.0/lib/database_cleaner/mongo/truncation.rb
database_cleaner-1.3.0 lib/database_cleaner/mongo/truncation.rb
database_cleaner-1.2.0 lib/database_cleaner/mongo/truncation.rb
database_cleaner-1.1.1 lib/database_cleaner/mongo/truncation.rb
database_cleaner-1.1.0 lib/database_cleaner/mongo/truncation.rb
database_cleaner-1.0.1 lib/database_cleaner/mongo/truncation.rb
database_cleaner-1.0.0.RC1 lib/database_cleaner/mongo/truncation.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.9.1/lib/database_cleaner/mongo/truncation.rb
database_cleaner-0.9.1 lib/database_cleaner/mongo/truncation.rb