Sha256: c9322cc9a675649c654b1f578f167dc96e63e66fe82a0e374b6d8acf14a4128c
Contents?: true
Size: 358 Bytes
Versions: 3
Compression:
Stored size: 358 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 Mongoid::History.trackable_class_options = nil end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mongoid-history-0.4.4 | spec/support/mongoid_history.rb |
mongoid-history-0.4.3 | spec/support/mongoid_history.rb |
mongoid-history-0.4.2 | spec/support/mongoid_history.rb |