mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
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:
parent
76f3730427
commit
2dd1f4a635
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue