From 06e3b158f41c90d59d88e09b39f97335aa461fcd Mon Sep 17 00:00:00 2001 From: Sebastian Gierlinger Date: Wed, 4 Dec 2013 21:20:16 +0100 Subject: [PATCH] Fix for failing tests closes #1609 - added wait for output - changed order of test tasks --- Gruntfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 4f53f35e4f..c7ae56e1d0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -107,7 +107,8 @@ var path = require('path'), // Start our server in development express: { options: { - script: 'index.js' + script: 'index.js', + output: 'Ghost is running' }, dev: { @@ -877,7 +878,7 @@ var path = require('path'), grunt.registerTask('test-api', 'Run functional api tests only', ['clean:test', 'setTestEnv', 'loadConfig', 'express:test', 'mochacli:api', 'express:test:stop']); - grunt.registerTask('validate', 'Run tests and lint code', ['jslint', 'test-unit', 'test-integration', 'test-api', 'test-functional']); + grunt.registerTask('validate', 'Run tests and lint code', ['jslint', 'test-unit', 'test-api', 'test-integration', 'test-functional']); // ## Coverage report for Unit and Integration Tests