Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ConstantLookup is not needed in every TestCase decendant

  • Loading branch information...
commit ba3411067760ca6cd69c49a4e5c6c3a021011ce6 1 parent 299e057
@alindeman alindeman authored
View
1  activesupport/lib/active_support/test_case.rb
@@ -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?
View
1  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|
Please sign in to comment.
Something went wrong with that request. Please try again.