spec.node.js
This file
Path
spec/spec.node.js
43 lines · 1.2 KiB · JavaScript
Last changed by
Added static file support [#17]visionmediabefore adoption542a90a
History of this fileTake it
The walk stopped after 200 commits: lines older than d8e2018 point at it.
render() calls contentType()visionmediabefore adoptiond8e2018
line 1why, one step back1Setting up specs for libxmljs Collection supportvisionmediabefore adoption6e5f9f1
line 2why, one step back2require.paths.unshift('spec', 'spec/lib', 'lib')render() calls contentType()visionmediabefore adoptiond8e2018
lines 3–26why, one step back3require("jspec")4require("express")5require("express/spec")67quit = process.exit8print = puts910readFile = function(path) {11 var promise = require('posix').cat(path, "utf8")12 var result = ''13 promise.addErrback(function(){ throw "failed to read file `" + path + "'" })14 promise.addCallback(function(contents){15 result = contents16 })17 promise.wait()18 return result19}2021if (process.ARGV[2])22 JSpec.exec('spec/spec.' + process.ARGV[2] + '.js') 23else24 JSpec25 .exec('spec/spec.core.js')26 .exec('spec/spec.routing.js')Fixing specs due to Request changevisionmediabefore adoption2d3d6da
line 27why, one step back27 .exec('spec/spec.helpers.js')More refactoring to allow everything to be request-specificvisionmediabefore adoption34c412e
line 28why, one step back28 .exec('spec/spec.request.js')render() calls contentType()visionmediabefore adoptiond8e2018
line 29why, one step back29 .exec('spec/spec.mime.js')Added static file support [#17]visionmediabefore adoption542a90a
line 30why, one step back30 .exec('spec/spec.static.js')Setting up specs for libxmljs Collection supportvisionmediabefore adoption6e5f9f1
line 31why, one step back31 .exec('spec/spec.collection.js')Renaming a specvisionmediabefore adoption4fa345d
line 32why, one step back32 .exec('spec/spec.element-collection.js')render() calls contentType()visionmediabefore adoptiond8e2018
line 33why, one step back33 .exec('spec/spec.plugins.js')View is now a plugin [#87]visionmediabefore adoption8e408e3
line 34why, one step back34 .exec('spec/spec.plugins.view.js')render() calls contentType()visionmediabefore adoptiond8e2018
lines 35–37why, one step back35 .exec('spec/spec.plugins.common-logger.js')36 .exec('spec/spec.plugins.content-length.js')37 .exec('spec/spec.plugins.method-override.js')Added BodyDecoder plugin, required by corevisionmediabefore adoption251c027
line 38why, one step back38 .exec('spec/spec.plugins.body-decoder.js')Added redirect() helpervisionmediabefore adoptionff293e5
line 39why, one step back39 .exec('spec/spec.plugins.redirect.js')Added before / after hook utilities [#54]visionmediabefore adoptiona8409ba
line 40why, one step back40 .exec('spec/spec.plugins.hooks.js')Started cookie specsvisionmediabefore adoption007fe35
line 41why, one step back41 .exec('spec/spec.plugins.cookie.js')render() calls contentType()visionmediabefore adoptiond8e2018
lines 42–43why, one step back42JSpec.run({ formatter: JSpec.formatters.Terminal, failuresOnly: true })43JSpec.report()