Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
#450 minor formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
reblace committed Mar 7, 2015
1 parent b61d6a7 commit 9f45e63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ gulp.task('mocha', function (done) {

// Connect mongoose
mongoose.connect(function() {

// Run the tests
gulp.src(testAssets.tests.server)
.pipe(plugins.mocha({
Expand All @@ -128,7 +127,8 @@ gulp.task('mocha', function (done) {
.on('error', function (err) {
// If an error occurs, save it
error = err;
}).on('end', function() {
})
.on('end', function() {
// When the tests are done, disconnect mongoose and pass the error state back to gulp
mongoose.disconnect(function() {
done(error);
Expand Down

0 comments on commit 9f45e63

Please sign in to comment.