class AbstractController::Testing::DefaultRespondToActionController
respond_to_action?(action_name)
¶ ↑
-
A
method can be used as an action only if this method returns true when passed the method name as an argument -
Defaults to true in
AbstractController
Public Instance Methods
index()
click to toggle source
# File actionview/test/actionpack/abstract/abstract_controller_test.rb, line 228 def index() self.response_body = "success" end