mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03: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
@ -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 New Issue
Block a user