no need for the undefine

This commit is contained in:
Sam 2013-10-21 09:50:50 +11:00
parent 9f1edd4c7a
commit 25723de9c8

View File

@ -22,7 +22,6 @@ describe Concern::Positionable do
# import is making my life hard, we need to nuke this out of orbit # import is making my life hard, we need to nuke this out of orbit
des = ActiveSupport::DescendantsTracker.class_variable_get :@@direct_descendants des = ActiveSupport::DescendantsTracker.class_variable_get :@@direct_descendants
des[ActiveRecord::Base].delete(TestItem) des[ActiveRecord::Base].delete(TestItem)
Object.send(:remove_const, :TestItem)
end end
it "can position stuff correctly" do it "can position stuff correctly" do