aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Lindeman <alindeman@gmail.com>2012-09-26 23:21:09 -0400
committerAndy Lindeman <alindeman@gmail.com>2012-09-26 23:21:52 -0400
commitba3411067760ca6cd69c49a4e5c6c3a021011ce6 (patch)
tree4a0bb6a357cedd2869dedf67d1bd17937c12c5c0
parent299e05706efe323b9adedefe1178283a4585a91b (diff)
downloadrails-ba3411067760ca6cd69c49a4e5c6c3a021011ce6.tar.gz
rails-ba3411067760ca6cd69c49a4e5c6c3a021011ce6.tar.bz2
rails-ba3411067760ca6cd69c49a4e5c6c3a021011ce6.zip
ConstantLookup is not needed in every TestCase decendant
-rw-r--r--activesupport/lib/active_support/test_case.rb1
-rw-r--r--activesupport/test/testing/constant_lookup_test.rb1
2 files changed, 1 insertions, 1 deletions
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|