class AbstractController::Testing::Me2
Public Instance Methods
action_with_ivars()
click to toggle source
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 59 def action_with_ivars @my_ivar = "Hello" render "action_with_ivars.erb" end
index()
click to toggle source
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 51 def index render "index.erb" end
index_to_string()
click to toggle source
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 55 def index_to_string self.response_body = render_to_string "index" end
naked_render()
click to toggle source
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 64 def naked_render render end
rendering_to_body()
click to toggle source
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 68 def rendering_to_body self.response_body = render_to_body template: "naked_render" end
rendering_to_string()
click to toggle source
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 72 def rendering_to_string self.response_body = render_to_string template: "naked_render" end