class AbstractController::Testing::RenderingController

Test Render mixin

Public Instance Methods

_prefixes() click to toggle source
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 36
def _prefixes
  []
end
render(options = {}) click to toggle source
Calls superclass method AbstractController::Rendering#render
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 40
def render(options = {})
  if options.is_a?(String)
    options = { _template_name: options }
  end
  super
end