Sha256: 5cde95ecf8ec666fd9a8f2c1fa392f481c119b5ab5cec180fb0b2cdb4519554b
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
Mongoid.configure do |config| config.connect_to('mongoid_history_test') end RSpec.configure do |config| config.before :each do Mongoid.observers = Mongoid::History::Sweeper end config.after(:each) do Mongoid.purge! end config.backtrace_clean_patterns = [ /lib\/rspec\/(core|expectations|matchers|mocks)/ ] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid-history-0.4.0 | spec/support/mongoid.rb |