class ActionDispatch::IntegrationTest::StubDispatcher

Stub Quails dispatcher so it does not get controller references and simply return the controller#action as Rack::Body.

Private Instance Methods

controller_reference(controller_param) click to toggle source
# File actionview/test/abstract_unit.rb, line 169
def controller_reference(controller_param)
  controller_param
end
dispatch(controller, action, env) click to toggle source
# File actionview/test/abstract_unit.rb, line 173
def dispatch(controller, action, env)
  [200, { "Content-Type" => "text/html" }, ["#{controller}##{action}"]]
end