Method: Sinatra::TestHelpers#errors

Defined in:
lib/sinatra/test_helpers.rb

#errorsArray

Errors of last_response

Returns:

  • (Array)

    errors of the last response

[View source]

48
# File 'lib/sinatra/test_helpers.rb', line 48

def_delegators :last_response, :body, :headers, :status, :errors