|
|
@ -1,5 +1,4 @@
|
|
|
|
// this test currently needs to talk to the redis database.
|
|
|
|
|
|
|
|
// get the redis config info from root directory's config.json:
|
|
|
|
|
|
|
|
var winston = require('winston');
|
|
|
|
var winston = require('winston');
|
|
|
|
|
|
|
|
|
|
|
|
process.on('uncaughtException', function (err) {
|
|
|
|
process.on('uncaughtException', function (err) {
|
|
|
@ -59,4 +58,4 @@ describe('Categories', function() {
|
|
|
|
db.delete('category:' + categoryObj.cid);
|
|
|
|
db.delete('category:' + categoryObj.cid);
|
|
|
|
db.listRemoveLast('categories:cid');
|
|
|
|
db.listRemoveLast('categories:cid');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|