Class: ActiveSupport::TestCase

Inherits:
Test::Unit::TestCase
  • Object
show all
Extended by:
ActiveSupport::Testing::Declarative
Includes:
ActiveSupport::Testing::Assertions, 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

Class Method Details

.for_tag(tag) ⇒ Object



24
25
26
# File 'lib/active_support/test_case.rb', line 24

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