Skip to content

Commit

Permalink
Fixed server name test. Issue was with file server options.
Browse files Browse the repository at this point in the history
  • Loading branch information
dubiousdavid committed Apr 1, 2013
1 parent a2a3371 commit 3a74c45
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/integration/node-static-test.js
Expand Up @@ -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': {
Expand Down

0 comments on commit 3a74c45

Please sign in to comment.