class AbstractController::Testing::CallbacksWithConditions
Public Instance Methods
index()
click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 121 def index self.response_body = @list.join(", ") end
sekrit_data()
click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 125 def sekrit_data self.response_body = (@list + [@authenticated]).join(", ") end
Private Instance Methods
authenticate()
click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 134 def authenticate @list ||= [] @authenticated = "true" end
list()
click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 130 def list @list = ["Hello", "World"] end