class AbstractController::Testing::CallbacksWithArrayConditions

Public Instance Methods

index() click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 165
def index
  self.response_body = @list.join(", ")
end
sekrit_data() click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 169
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 178
def authenticate
  @list = []
  @authenticated = "true"
end
list() click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 174
def list
  @list = ["Hello", "World"]
end