[Pkg-javascript-commits] [node-static] 109/151: Fixed server name test. Issue was with file server options.
Tonnerre Lombard
tonnerre-guest at moszumanska.debian.org
Tue Jan 7 23:18:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
tonnerre-guest pushed a commit to branch master
in repository node-static.
commit 3a74c45561c8f559de7187a6f9b116f8b7ff6196
Author: David Sargeant <david at dsargeant.com>
Date: Mon Apr 1 12:20:31 2013 -0400
Fixed server name test. Issue was with file server options.
---
test/integration/node-static-test.js | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/test/integration/node-static-test.js b/test/integration/node-static-test.js
index 0387e67..c0f2e84 100644
--- a/test/integration/node-static-test.js
+++ b/test/integration/node-static-test.js
@@ -3,15 +3,13 @@ var vows = require('vows')
, assert = require('assert')
, static = require('../../lib/node-static');
-var fileServer = new(static.Server)(__dirname + '/../fixtures', {serverInfo: 'custom-server-name'});
-
-var suite = vows.describe('node-static');
-
+var fileServer = new static.Server(__dirname + '/../fixtures');
+var suite = vows.describe('node-static');
var TEST_PORT = 8080;
var TEST_SERVER = 'http://localhost:' + TEST_PORT;
+var version = static.version.join('.');
var server;
var callback;
-var version = static.version.join('.');
headers = {
'requesting headers': {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-static.git
More information about the Pkg-javascript-commits
mailing list