Skip to content

Commit

Permalink
Async startup for travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
richtera committed Jan 25, 2013
1 parent 09948fd commit 0202243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/calipsoHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ var requests = {
* Initialise everything and then export
*/
module.exports.finalize = function (next) {
calipso.logging.configureLogging(loggingConfig);
if (module.exports.app) {
return next(null, module.exports);
}
new MockApp(function (app) {
calipso.logging.configureLogging(loggingConfig);
module.exports.app = app;
module.exports.calipso = calipso;
module.exports.testPermit = calipso.permission.Helper.hasPermission("test:permission"),
Expand Down

0 comments on commit 0202243

Please sign in to comment.