aboutsummaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)AuthorFilesLines
2012-11-29added custom parameters in the routerGibheer1-5/+18
2012-11-29added custom parameterGibheer2-0/+74
2012-11-27better specs for renderGibheer3-21/+23
2012-11-26now the renderer correctly saves all templatesGibheer1-5/+5
Before this fix the renderer was not able to save the templates and types in the correct way. It still needs some cleanup, but it works now.
2012-11-26specs for renderingGibheer2-0/+44
2012-11-26first commit for the new rendererGibheer4-39/+56
This part handles the building of the template tree, which then gets used later by the containers.
2012-11-24Content-Length must be a StringStormwind1-7/+7
2012-11-24Add an = at the end of the content_type methodStormwind1-3/+3
Shall made use of this functionality more confortable, even if it's not a real attribute of this class.
2012-11-24Delete Content-Length. Conten-Type and body on status 304Stormwind1-0/+11
2012-11-24SimpleCov runs on latest rbx headGibheer1-5/+4
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'Stormwind2-0/+26
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-20add simplecov to get metricsGibheer1-0/+7
This only works with MRI, but should be good enough.
2012-11-20added a basic spec for the controllerGibheer1-0/+14
2012-11-20add a spec controllerGibheer1-0/+5
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-16added rack to generate environmentsGibheer1-0/+1
2012-11-16delete old specs for routerGibheer1-55/+0
These specs did not work and are cleanup with the unit specs, so there is no need for them now.
2012-11-16add unit specs for routerGibheer1-0/+42
2012-11-16call is a class functionGibheer1-1/+1
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