Class: 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
Direct Known Subclasses
ActionController::TestCase, ActionDispatch::IntegrationTest, ActionMailer::TestCase, ActionView::TestCase, ActiveModel::TestCase, ActiveRecord::TestCase, Rails::Generators::TestCase
Constant Summary collapse
- 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
.for_tag(tag) ⇒ Object
24 25 26 |
# File 'activesupport/lib/active_support/test_case.rb', line 24 def self.for_tag(tag) yield if $tags[tag] end |