Check there is no unexepcted keys on redis after tests

This commit is contained in:
Raul Ochoa
2015-09-17 15:07:54 +02:00
parent 5428d3f0b0
commit 30cba053da
4 changed files with 78 additions and 16 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ describe('tests from old api translated to multilayer', function() {
// 'map_style|null|publicuser|my_table',
redisClient.keys("map_style|*", function(err, matches) {
redisClient.del(matches, function() {
done();
testHelper.deleteRedisKeys({ 'user:cartodb250user:mapviews:global': 5 }, done);
});
});
});