Sha256: 7b754fa4451b29003de316c3c112b4732bd2c436bb55d58a605626910a152fdf

Contents?: true

Size: 432 Bytes

Versions: 26

Compression:

Stored size: 432 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

26 entries across 21 versions & 5 rubygems

Version Path
raffle_v1-0.0.5 lib/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
rails-uploader-0.0.4 vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
rails-uploader-0.0.1 vendor/bundle/ruby/1.9.1/gems/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb
database_cleaner-0.7.2 lib/database_cleaner/mongoid/truncation.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/database_cleaner-0.6.7/lib/database_cleaner/mongoid/truncation.rb
database_cleaner-0.7.1 lib/database_cleaner/mongoid/truncation.rb
database_cleaner-0.7.0 lib/database_cleaner/mongoid/truncation.rb
database_cleaner-0.6.7 lib/database_cleaner/mongoid/truncation.rb
database_cleaner-0.6.7.RC lib/database_cleaner/mongoid/truncation.rb
database_cleaner-0.6.6 lib/database_cleaner/mongoid/truncation.rb