Update package

This commit is contained in:
Anatoliy Chakkaev 2012-01-16 03:11:00 +04:00
parent b3c6bf4b2f
commit 1f9038834c
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
}, },
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "./support/nodeunit/bin/nodeunit test/*_test.js" "test": "ONLY=memory ./support/nodeunit/bin/nodeunit test/*_test.*"
}, },
"engines": [ "engines": [
"node >= 0.4.0" "node >= 0.4.0"

View File

@ -48,7 +48,7 @@ function check_external_exports() {
// add assertions // add assertions
var assert = require(require('module')._resolveFilename('nodeunit')[0].replace(/index\.js$/, 'lib/assert')); var assert = require(require('module')._resolveFilename('../support/nodeunit')[0].replace(/index\.js$/, 'lib/assert'));
// Check response status code 200 OK // Check response status code 200 OK
assert.status200 = function (response, message) { assert.status200 = function (response, message) {