spec/tracker_spec.rb in mongoid-history-0.1.3 vs spec/tracker_spec.rb in mongoid-history-0.1.4
- old
+ new
@@ -4,14 +4,14 @@
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