Class: ActiveSupport::TestCase

Inherits:
Test::Unit::TestCase
  • Object
show all
Extended by:
ActiveSupport::Testing::Declarative
Includes:
ActiveSupport::Testing::Assertions, ActiveSupport::Testing::Default, ActiveSupport::Testing::Deprecation, ActiveSupport::Testing::Pending, ActiveSupport::Testing::SetupAndTeardown
Defined in:
lib/active_support/test_case.rb

Constant Summary collapse

Assertion =
Test::Unit::AssertionFailedError

Class Method Summary collapse

Methods included from ActiveSupport::Testing::Declarative

extended, test

Methods included from ActiveSupport::Testing::Pending

#pending

Methods included from ActiveSupport::Testing::Deprecation

#assert_deprecated, #assert_not_deprecated

Methods included from ActiveSupport::Testing::Assertions

#assert_blank, #assert_difference, #assert_no_difference, #assert_present

Methods included from Concern

#append_features, extended, #included

Methods included from ActiveSupport::Testing::Default

#default_test

Class Method Details

.for_tag(tag) ⇒ Object



32
33
34
# File 'lib/active_support/test_case.rb', line 32

def self.for_tag(tag)
  yield if $tags[tag]
end