Sha256: 0e309f2e22f1239d36ffcb8c6626bc206cafcf077eaff534b87bda736e53f031
Contents?: true
Size: 299 Bytes
Versions: 3
Compression:
Stored size: 299 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe Mongoid::History::Tracker do it "should set tracker_class_name when included" do class MyTracker include Mongoid::History::Tracker end Mongoid::History.tracker_class_name.should == :my_tracker end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mongoid-history-0.4.0 | spec/tracker_spec.rb |
mongoid-history-0.3.3 | spec/tracker_spec.rb |
mongoid-history-0.3.2 | spec/tracker_spec.rb |