From ba3411067760ca6cd69c49a4e5c6c3a021011ce6 Mon Sep 17 00:00:00 2001 From: Andy Lindeman Date: Wed, 26 Sep 2012 23:21:09 -0400 Subject: ConstantLookup is not needed in every TestCase decendant --- activesupport/lib/active_support/test_case.rb | 1 - activesupport/test/testing/constant_lookup_test.rb | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 1f874b56db..7b9378a7f6 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -38,7 +38,6 @@ module ActiveSupport include ActiveSupport::Testing::SetupAndTeardown include ActiveSupport::Testing::Assertions include ActiveSupport::Testing::Deprecation - include ActiveSupport::Testing::ConstantLookup def self.describe(text) if block_given? diff --git a/activesupport/test/testing/constant_lookup_test.rb b/activesupport/test/testing/constant_lookup_test.rb index d6552b5e49..c56c032cde 100644 --- a/activesupport/test/testing/constant_lookup_test.rb +++ b/activesupport/test/testing/constant_lookup_test.rb @@ -9,6 +9,7 @@ class Baz < Bar; end module FooBar; end class ConstantLookupTest < ActiveSupport::TestCase + include ActiveSupport::Testing::ConstantLookup def find_foo(name) self.class.determine_constant_from_test_name(name) do |constant| -- cgit v1.2.3