aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/test_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/test_test.rb')
-rw-r--r--activesupport/test/test_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/test_test.rb b/activesupport/test/test_test.rb
index 89fae1a9e4..298037e27c 100644
--- a/activesupport/test/test_test.rb
+++ b/activesupport/test/test_test.rb
@@ -83,7 +83,7 @@ class AssertDifferenceTest < ActiveSupport::TestCase
end
# These should always pass
-if defined? ActiveSupport::Testing::Default
+if ActiveSupport::Testing.const_defined?(:Default)
class NotTestingThingsTest < Test::Unit::TestCase
include ActiveSupport::Testing::Default
end