Skip to content

Commit ba34110

Browse files
committed
ConstantLookup is not needed in every TestCase decendant
1 parent 299e057 commit ba34110

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

activesupport/lib/active_support/test_case.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def self.test_order # :nodoc:
3838
include ActiveSupport::Testing::SetupAndTeardown
3939
include ActiveSupport::Testing::Assertions
4040
include ActiveSupport::Testing::Deprecation
41-
include ActiveSupport::Testing::ConstantLookup
4241

4342
def self.describe(text)
4443
if block_given?

activesupport/test/testing/constant_lookup_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ class Baz < Bar; end
99
module FooBar; end
1010

1111
class ConstantLookupTest < ActiveSupport::TestCase
12+
include ActiveSupport::Testing::ConstantLookup
1213

1314
def find_foo(name)
1415
self.class.determine_constant_from_test_name(name) do |constant|

0 commit comments

Comments
 (0)