Class Rack::MockResponse
In: lib/rack/mock.rb
Parent: Object

Rack::MockResponse provides useful helpers for testing your apps. Usually, you don‘t create the MockResponse on your own, but use MockRequest.

Methods

=~   []   match   new  

Included Modules

Response::Helpers

Attributes

body  [R]  Body
errors  [RW]  Errors
headers  [R]  Headers
original_headers  [R]  Headers
status  [R]  Status

Public Class methods

Public Instance methods

[Validate]