Permalink
Browse files

Fixed server name test. Issue was with file server options.

  • Loading branch information...
dubiousdavid committed Apr 1, 2013
1 parent a2a3371 commit 3a74c45561c8f559de7187a6f9b116f8b7ff6196
Showing with 3 additions and 5 deletions.
  1. +3 −5 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': {

0 comments on commit 3a74c45

Please sign in to comment.