aboutsummaryrefslogtreecommitdiff
path: root/spec/unit
AgeCommit message (Collapse)AuthorFilesLines
2012-11-24Delete Content-Length. Conten-Type and body on status 304Stormwind1-0/+11
2012-11-23Delete Content-Length. Conten-Type and body on status 204Stormwind1-0/+11
Should work, but somehow it doesn't...
2012-11-23Sets the Content-Type in to_a unless it is already set beforeStormwind1-3/+16
The default value is 'text/html'.
2012-11-23content_type sets the Content-Type header to the given valueStormwind1-3/+11
2012-11-23Sets the Content-Length in to_a unless it is already set beforeStormwind1-2/+9
2012-11-23Sets Content-Type header in to_aStormwind1-1/+6
2012-11-23Merge remote-tracking branch 'origin/master'Stormwind1-0/+14
2012-11-23Sets Content-Length to body string bytesizeStormwind1-0/+8
Sets the Conten-Length to the bytesize of the joined body to cover UTF-8
2012-11-23Sets Content-Length to body string lengthStormwind1-0/+7
It joins the body array to a string and sets the Content-Length header to its length.
2012-11-23content_length sets the Content-Length to 0Stormwind1-0/+11
The method content_length creates a header named Content-Length and sets its value to 0.
2012-11-20added a basic spec for the controllerGibheer1-0/+14
2012-11-19Rename #finish to #to_a in response specsStormwind1-1/+1
2012-11-18Restructure response specsStormwind1-32/+35
Also no change in behaviour
2012-11-18Add default value for the bodyStormwind1-0/+6
2012-11-18Add default value for headerStormwind1-1/+7
2012-11-17Add default value to status codeStormwind1-1/+4
2012-11-17Converts any input in status to an integerStormwind1-0/+10
2012-11-16added specs for Renderer.transformGibheer1-0/+32
2012-11-16not needed anymoreGibheer1-7/+0
2012-11-16documentet the renderer and added a specGibheer1-0/+10
2012-11-16corrected the naming of #accept, before #media_typesGibheer1-0/+7
2012-11-16added specs for acceptGibheer3-0/+27
2012-11-16added specs for new typeGibheer2-15/+15
2012-11-16Add simple response objectStormwind1-0/+19
2012-11-16add unit specs for routerGibheer1-0/+42
2012-11-16added self.create to the requestGibheer1-0/+21
With this it is possible to reuse an already set request and therefore safe some memory and time.
2012-11-15added the required line for spec_helperGibheer2-0/+4
2012-11-15added specs for #media_typesGibheer1-0/+7
2012-11-15add specs for #serverGibheer5-0/+42
2012-11-15add specs for #clientGibheer1-0/+8
2012-11-15check for an instance of parameterGibheer1-7/+1
2012-11-15clean up the accept map after all testsGibheer1-5/+4
2012-11-15spec files for Request::ClientGibheer3-0/+27
2012-11-14added spec for #each on AcceptGibheer1-0/+10
2012-11-14added specs for #preferredGibheer1-0/+36
2012-11-14added specs for #payloadGibheer1-0/+24
2012-11-14added specs for #queryGibheer1-0/+20
2012-11-13added specs for #paramGibheer1-0/+14
2012-11-13added specs for #content_typeGibheer1-0/+16
2012-11-13added spec for #pathGibheer1-0/+7
2012-11-13added spec for #methodGibheer1-0/+6
2012-11-13more specs for the #? methods of requestGibheer6-1/+76
2012-11-12added specs for #get?Gibheer1-0/+15