D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
MockRequest
/
Filename :
cdesc-MockRequest.ri
back
Copy
U:RDoc::NormalClass[iI"MockRequest:ETI"Rack::MockRequest;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"CRack::MockRequest helps testing your Rack application without ;TI"actually using HTTP.;To:RDoc::Markup::BlankLine o; ;[I"LAfter performing a request on a URL with get/post/put/patch/delete, it ;TI"Ereturns a MockResponse with useful helper methods for effective ;TI" testing.;T@o; ;[I">You can pass a hash with additional configuration to the ;TI"get/post/put/patch/delete.;To:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"<tt>:input</tt>;T;[o; ;[I"2A String or IO-like to be used as rack.input.;To;;[I"<tt>:fatal</tt>;T;[o; ;[I";Raise a FatalWarning if the app writes to rack.errors.;To;;[I"<tt>:lint</tt>;T;[o; ;[I"3If true, wrap the application in a Rack::Lint.;T: @fileI"lib/rack/mock_request.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"DEFAULT_ENV;TI"#Rack::MockRequest::DEFAULT_ENV;T:public0o;;[ ;@3;0@3@cRDoc::NormalClass0[ [[I" class;T[[;[[I"env_for;TI"lib/rack/mock_request.rb;T[I"new;T@F[I"parse_uri_rfc2396;T@F[:protected[ [:private[ [I" instance;T[[;[ [I"delete;T@F[I"get;T@F[I" head;T@F[I"options;T@F[I" patch;T@F[I" post;T@F[I"put;T@F[I"request;T@F[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@3I" Rack;TcRDoc::NormalModule