Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 333 Bytes
$:.unshift(File.expand_path('../../lib', __FILE__))
require 'rubygems'
require 'bundler'
Bundler.require(:default, :development)
require 'hunt'
MongoMapper.connection = Mongo::Connection.new
MongoMapper.database = 'test'
Rspec.configure do |c|
c.before(:each) do
MongoMapper.database.collections.each(&:remove)
end
end
Something went wrong with that request. Please try again.