Sha256: 0fcd4320c7514b922ab275212fa71a15796a93a08de3789d5e85a57532e53565
Contents?: true
Size: 570 Bytes
Versions: 2
Compression:
Stored size: 570 Bytes
Contents
# encoding: utf-8 require 'rubygems' require 'rspec' require 'mongoid' require 'mongoid_max_denormalize' require 'logger' Mongoid.configure do |config| config.connect_to('mongoid_max_denormalize_test') end Mongoid.logger = Logger.new("log/mongoid-test.log") Mongoid.logger.level = Logger::DEBUG Moped.logger = Logger.new("log/moped-test.log") Moped.logger.level = Logger::DEBUG RSpec.configure do |config| # Drop all collections and clear the identity map before each spec. config.before(:each) do Mongoid.purge! Mongoid::IdentityMap.clear end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongoid_max_denormalize-0.0.2 | spec/spec_helper.rb |
mongoid_max_denormalize-0.0.1 | spec/spec_helper.rb |