Sha256: 5c7469c26883fb06a666e6c5b10860eb9745346f8f086b6b335a909beb1a0b03

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

require 'troles'
require 'trole_spec_helper'
require 'mongoid'
require 'bson'
require 'mongoid/models'

Troles::Config.default_orm = :mongoid
Troles::Config.auto_load = true

Mongoid.configure.master = Mongo::Connection.new.db('troles_mongoid')

Mongoid.database.collections.each do |coll|
  coll.remove
end

RSpec.configure do |config|
  config.mock_with :mocha
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
troles-0.6.1 spec/mongoid_helper.rb
troles-0.6.0 spec/mongoid_helper.rb
troles-0.5.2 spec/mongoid_helper.rb
troles-0.5.1 spec/mongoid_helper.rb
troles-0.5.0 spec/mongoid_helper.rb