Sha256: cda3bbb61bf34c386897706e47184d19f380be34bb04b979097dc1a2b5d348f4

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

$:.unshift(File.expand_path('../../lib', __FILE__))

require 'rubygems'
require 'bundler'
require 'active_support/all'

Bundler.require(:default)

require 'mongoid_store'

Mongoid.load!(File.expand_path("../mongoid.yml", __FILE__), :test)

RSpec.configure do |config|
  config.before(:each) do
    Mongoid.session(:default).collections.each do |collection|
      collection.find.remove_all
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid_store-0.1.1 spec/helper.rb
mongoid_store-0.1.0 spec/helper.rb
mongoid_store-0.0.1 spec/helper.rb