Sha256: 40aa387183dc199875c0f466ce606670ccb879d6782b27440cc475d0022b3616
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
# encoding: utf-8 # $:.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongoid-store-0.4.4 | spec/helper.rb |
mongoid-store-0.4.3 | spec/helper.rb |