Permalink
Browse files

Async test need `next` call

  • Loading branch information...
1 parent 7cf93ae commit 977dca8f939a9537b58b23a60d191dbedb7e6edf mde committed Oct 12, 2012
Showing with 1 addition and 3 deletions.
  1. +0 −3 lib/adapters/sql/postgres.js
  2. +1 −0 test/adapters/shared.js
View
3 lib/adapters/sql/postgres.js
@@ -174,9 +174,6 @@ utils.mixin(Adapter.prototype, new (function () {
, ctor = model[modelName]
, reg = model.descriptionRegistry
, props = reg[modelName].properties
- , prop
- , def
- , datatypes = model.datatypes
, sql = '';
items.forEach(function (item) {
View
1 test/adapters/shared.js
@@ -392,6 +392,7 @@ tests = {
if (err) {
throw err;
}
+ next();
});
}
};

0 comments on commit 977dca8

Please sign in to comment.