Sha256: 659ac96eb15cfc2c089e8b1f0876e8a3ee13a13b56c14008be5fa30fa2da0431
Contents?: true
Size: 398 Bytes
Versions: 13
Compression:
Stored size: 398 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Mongoid::History::Tracker do before :each do class MyTracker include Mongoid::History::Tracker end end after :each do Mongoid::History.tracker_class_name = nil end it "should set tracker_class_name when included" do Mongoid::History.tracker_class_name.should == :my_tracker end end
Version data entries
13 entries across 13 versions & 1 rubygems