Sha256: fb882c4681e7702980e53ee0fb006449b8b1808207a9500b5e4c6df24e55fca2
Contents?: true
Size: 319 Bytes
Versions: 1
Compression:
Stored size: 319 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid-history-0.8.5 | spec/support/mongoid_history.rb |