Skip to content

Commit

Permalink
wahh
Browse files Browse the repository at this point in the history
  • Loading branch information
blugavere committed Apr 15, 2017
1 parent 86490bb commit a00e9b6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,14 @@ describe('Cassandra Repository', () => {
console.log(err);
return done(err);
}
models.loadSchema(modelName, schema);
repo = new Repo(models, modelName);
done();
models.loadSchema(modelName, schema, err => {
if (err) {
console.log(err);
return done(err);
}
repo = new Repo(models, modelName);
done();
});
}, 50000);
});
});
Expand Down

0 comments on commit a00e9b6

Please sign in to comment.