Sha256: 9cadcfa6210211379892f367e664882ec6b1dda0b24f88f93b01da05a1ab7512
Contents?: true
Size: 380 Bytes
Versions: 2
Compression:
Stored size: 380 Bytes
Contents
$:.unshift(File.expand_path('../../lib', __FILE__)) require 'rubygems' require 'bundler' require 'active_support/all' Bundler.require(:default) require 'bin' connection = Mongo::Connection.new DB = connection.db('test') RSpec.configure do |c| c.before(:each) do DB.collections.each do |collection| collection.remove collection.drop_indexes end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bin-0.7.1 | spec/helper.rb |
bin-0.7.0 | spec/helper.rb |