Skip to content

Commit

Permalink
Merge pull request #21 from techniq/filter-joins
Browse files Browse the repository at this point in the history
Support filtering across relations (apply joins / fix column name). Fixes #18
  • Loading branch information
jmdobry committed Oct 8, 2015
2 parents c656b9f + 302246d commit 7f15722
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 186 deletions.
15 changes: 5 additions & 10 deletions mocha.start.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,12 @@ beforeEach(function () {
global.DSErrors = globals.DSErrors;
});

afterEach(function (done) {
afterEach(function* () {
globals.adapter = null;
global.adapter = null;

adapter.destroyAll(Comment).then(function () {
return adapter.destroyAll(Post);
}).then(function () {
return adapter.destroyAll(User);
}).then(function () {
return adapter.destroyAll(Profile);
}).then(function () {
done();
}, done);
yield adapter.destroyAll(Comment);
yield adapter.destroyAll(Post);
yield adapter.destroyAll(User);
yield adapter.destroyAll(Profile);
});
Loading

0 comments on commit 7f15722

Please sign in to comment.