From 25723de9c8f230f34086e52f4cf10f2e73b024c7 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 21 Oct 2013 09:50:50 +1100 Subject: [PATCH] no need for the undefine --- spec/components/concern/positionable_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/components/concern/positionable_spec.rb b/spec/components/concern/positionable_spec.rb index ec8d22757e..32b2d4b046 100644 --- a/spec/components/concern/positionable_spec.rb +++ b/spec/components/concern/positionable_spec.rb @@ -22,7 +22,6 @@ describe Concern::Positionable do # import is making my life hard, we need to nuke this out of orbit des = ActiveSupport::DescendantsTracker.class_variable_get :@@direct_descendants des[ActiveRecord::Base].delete(TestItem) - Object.send(:remove_const, :TestItem) end it "can position stuff correctly" do