ConstantLookup is not needed in every TestCase decendant
This commit is contained in:
parent
299e05706e
commit
ba34110677
@ -38,7 +38,6 @@ def self.test_order # :nodoc:
|
||||
include ActiveSupport::Testing::SetupAndTeardown
|
||||
include ActiveSupport::Testing::Assertions
|
||||
include ActiveSupport::Testing::Deprecation
|
||||
include ActiveSupport::Testing::ConstantLookup
|
||||
|
||||
def self.describe(text)
|
||||
if block_given?
|
||||
|
@ -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|
|
||||
|
Loading…
Reference in New Issue
Block a user