Class: ActiveSupport::TestCase
- Inherits:
-
Test::Unit::TestCase
- Object
- Test::Unit::TestCase
- ActiveSupport::TestCase
- Extended by:
- ActiveSupport::Testing::Declarative
- Includes:
- ActiveRecord::TestFixtures, ActiveSupport::Testing::Assertions, ActiveSupport::Testing::Deprecation, ActiveSupport::Testing::Pending, ActiveSupport::Testing::SetupAndTeardown
- Defined in:
- activesupport/lib/active_support/test_case.rb,
railties/lib/rails/test_help.rb
Constant Summary
- Assertion =
Test::Unit::AssertionFailedError
Class Method Summary (collapse)
Methods included from ActiveSupport::Testing::Declarative
Methods included from ActiveRecord::TestFixtures
#run_in_transaction?, #setup_fixtures, #teardown_fixtures
Methods included from Concern
#append_features, extended, #included
Methods included from ActiveSupport::Testing::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
Class Method Details
+ (Object) for_tag(tag)
31 32 33 |
# File 'activesupport/lib/active_support/test_case.rb', line 31 def self.for_tag(tag) yield if $tags[tag] end |