flushing db after every test group that touches the db

v1.18.x
Julian Lam 10 years ago
parent 4125a087b5
commit 9a8fa35d8d

@ -55,7 +55,6 @@ describe('Categories', function() {
});
after(function() {
db.delete('category:' + categoryObj.cid);
db.sortedSetRemove('categories:cid', categoryObj.cid);
db.flushdb();
});
});

@ -362,4 +362,8 @@ describe('Test database', function() {
});
});
after(function() {
db.flushdb();
});
});

@ -285,4 +285,8 @@ describe('Groups', function() {
});
});
});
after(function() {
db.flushdb();
});
});

Loading…
Cancel
Save