aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-12-19 08:14:32 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-12-19 08:15:06 +0900
commitc454fc29a89e2e67ffc94de72062a189aed49b53 (patch)
treeea4cff83c5a9f83298ea333b959b5341f1142dbf /activesupport
parent4779aaa1d191b0306eaf25658b4c6a611dd9a5c2 (diff)
downloadrails-c454fc29a89e2e67ffc94de72062a189aed49b53.tar.gz
rails-c454fc29a89e2e67ffc94de72062a189aed49b53.tar.bz2
rails-c454fc29a89e2e67ffc94de72062a189aed49b53.zip
Unused classes in test case
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/core_ext/object_and_class_ext_test.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/activesupport/test/core_ext/object_and_class_ext_test.rb b/activesupport/test/core_ext/object_and_class_ext_test.rb
index 8d748791e3..0f454fdd95 100644
--- a/activesupport/test/core_ext/object_and_class_ext_test.rb
+++ b/activesupport/test/core_ext/object_and_class_ext_test.rb
@@ -3,31 +3,6 @@ require 'active_support/time'
require 'active_support/core_ext/object'
require 'active_support/core_ext/class/subclasses'
-class ClassA; end
-class ClassB < ClassA; end
-class ClassC < ClassB; end
-class ClassD < ClassA; end
-
-class ClassI; end
-class ClassJ < ClassI; end
-
-class ClassK
-end
-module Nested
- class << self
- def on_const_missing(&callback)
- @on_const_missing = callback
- end
- private
- def const_missing(mod_id)
- @on_const_missing[mod_id] if @on_const_missing
- super
- end
- end
- class ClassL < ClassK
- end
-end
-
class ObjectTests < ActiveSupport::TestCase
class DuckTime
def acts_like_time?