Sha256: b4a5c43dba2aa2ca3d5a6c177ee6b376219c7f115432a76f61a9317bf264a506
Contents?: true
Size: 307 Bytes
Versions: 2
Compression:
Stored size: 307 Bytes
Contents
RSpec.configure do |config| config.before :each do class Tracker include Mongoid::History::Tracker end Mongoid::History.tracker_class_name = 'Tracker' Mongoid::History.modifier_class_name = 'User' end config.after :each do Mongoid::History.tracker_class_name = nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongoid-history-0.8.3 | spec/support/mongoid_history.rb |
mongoid-history-0.8.2 | spec/support/mongoid_history.rb |