class AbstractController::Testing::Callback2

Public Instance Methods

aroundz() { || ... } click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 44
def aroundz
  @aroundz = "FIRST"
  yield
  @aroundz += "SECOND"
end
first() click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 36
def first
  @text = "Hello world"
end
index() click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 50
def index
  @text ||= nil
  self.response_body = @text.to_s
end
second() click to toggle source
# File actionpack/test/abstract/callbacks_test.rb, line 40
def second
  @second = "Goodbye"
end