Comparing version 1.0.8 to 1.0.9
@@ -5,3 +5,3 @@ { | ||
"description": "Bricks Application Server", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"homepage": "http://bricksjs.com/", | ||
@@ -8,0 +8,0 @@ "preferGlobal": "true", |
@@ -44,20 +44,2 @@ var vows = require('vows'), | ||
}, | ||
'regex route added for request': { | ||
topic: function () { | ||
var appserver = new server.appserver(); | ||
var thisp = this; | ||
appserver.addRoute(new RegExp(/^\/foo/), function (request, response, options) { | ||
thisp.callback(undefined, request, response, options); | ||
}); | ||
var res = new mresponse.response(); | ||
var req = new mrequest.request(); | ||
req.url = "/foo"; | ||
appserver.handleRequest(req, res, appserver); | ||
}, | ||
'results from run': function (err, request, response, options) { | ||
assert.equal(response.statusCode(), 200); | ||
} | ||
}, | ||
'plugin route added for request': { | ||
@@ -121,2 +103,2 @@ topic: function () { | ||
} | ||
}).export(module); | ||
}).export(module); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52354
1077