Sha256: 4bf8d67541036c92c0df1fa4d71f89e936b9f40d4dab9c96c77e903fcaa167fb

Contents?: true

Size: 269 Bytes

Versions: 5

Compression:

Stored size: 269 Bytes

Contents

require 'rspec'
require 'mongoid'
require 'roles_mongoid'
                 
Mongoid.configure.master = Mongo::Connection.new.db('roles_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 & 2 rubygems

Version Path
roles_mongoid-0.4.8 spec/spec_helper.rb
roles_mongoid_zhd-0.4.8.1 spec/spec_helper.rb
roles_mongoid_zhd-0.4.8 spec/spec_helper.rb
roles_mongoid-0.4.7 spec/spec_helper.rb
roles_mongoid-0.4.6 spec/spec_helper.rb