From 2dd1f4a63525b38a4951cd060e88225a9721dee1 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Thu, 28 Nov 2013 12:33:02 +0000 Subject: [PATCH] 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. --- core/test/unit/server_spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/test/unit/server_spec.js b/core/test/unit/server_spec.js index dbc732ae00..02db54f2fb 100644 --- a/core/test/unit/server_spec.js +++ b/core/test/unit/server_spec.js @@ -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;