module Rails::Controller::Testing

Constants

VERSION

Public Class Methods

install() click to toggle source
# File lib/rails/controller/testing.rb, line 9
def self.install
  ActiveSupport.on_load(:action_controller) do
    ActionController::TestCase.include Rails::Controller::Testing::TestProcess
    ActionController::TestCase.include Rails::Controller::Testing::TemplateAssertions

    ActionDispatch::IntegrationTest.include Rails::Controller::Testing::TemplateAssertions
    ActionDispatch::IntegrationTest.include Rails::Controller::Testing::Integration
    ActionDispatch::IntegrationTest.include Rails::Controller::Testing::TestProcess
  end

  ActiveSupport.on_load(:action_view) do
    ActionView::TestCase.include Rails::Controller::Testing::TemplateAssertions
  end
end