class Rack::Test::Session
def last_response
Return the last response received in the session. Raises an error if
def last_response raise Error, 'No response yet. Request a page first.' unless @last_response @last_response end
def last_response raise Error, 'No response yet. Request a page first.' unless @last_response @last_response end