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_test_case) do
    include Rails::Controller::Testing::TestProcess
    include Rails::Controller::Testing::TemplateAssertions
  end

  ActiveSupport.on_load(:action_dispatch_integration_test) do
    include Rails::Controller::Testing::TemplateAssertions
    include Rails::Controller::Testing::Integration
    include Rails::Controller::Testing::TestProcess
  end

  ActiveSupport.on_load(:action_view_test_case) do
    include Rails::Controller::Testing::TemplateAssertions
  end
end