diff options
author | Andy Lindeman <alindeman@gmail.com> | 2012-09-26 23:21:09 -0400 |
---|---|---|
committer | Andy Lindeman <alindeman@gmail.com> | 2012-09-26 23:21:52 -0400 |
commit | ba3411067760ca6cd69c49a4e5c6c3a021011ce6 (patch) | |
tree | 4a0bb6a357cedd2869dedf67d1bd17937c12c5c0 /activesupport | |
parent | 299e05706efe323b9adedefe1178283a4585a91b (diff) | |
download | rails-ba3411067760ca6cd69c49a4e5c6c3a021011ce6.tar.gz rails-ba3411067760ca6cd69c49a4e5c6c3a021011ce6.tar.bz2 rails-ba3411067760ca6cd69c49a4e5c6c3a021011ce6.zip |
ConstantLookup is not needed in every TestCase decendant
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 1 | ||||
-rw-r--r-- | activesupport/test/testing/constant_lookup_test.rb | 1 |
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| |