Skip to content

Commit

Permalink
Fixes various failing tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Sep 10, 2013
1 parent 41890f2 commit b580f71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/app/load.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ module.exports = function (sails) {
}
cb(err);
});
}, function hooksInitialized (err){ cb(err, postponedHooks); });
}, function hooksInitialized (err){
cb(null, postponedHooks);
});
},

resumePostponed: ['initialize', function resumePostponedHooks (cb, results) {
Expand Down
5 changes: 3 additions & 2 deletions test/cli/integration/lift.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ describe('Starting sails server with lift', function() {
process.chdir('../');
done();
});
},1000)
},1000);
}
})
});
});
});

Expand All @@ -116,6 +116,7 @@ describe('Starting sails server with lift', function() {
it('--prod and --dev should throw an error', function(done) {

// Move into app directory
console.log('AP NAME: ', appName);
process.chdir(appName);

sailsServer = spawn(sailsBin, ['lift', '--dev', '--prod']);
Expand Down

0 comments on commit b580f71

Please sign in to comment.