Test bug fix

- test should use testing config, not development config. If you run the tests whilst also running the dev server, the tests fail.
This commit is contained in:
Hannah Wolfe 2013-11-28 12:33:02 +00:00
parent 76f3730427
commit 2dd1f4a635

View File

@ -10,8 +10,8 @@ var net = require('net'),
ghost = new Ghost();
describe('Server', function () {
var port = config['development'].server.port,
host = config['development'].server.host,
var port = config.testing.server.port,
host = config.testing.server.host,
url = 'http://' + host + ':' + port;