Ask for specific redis key removal

This commit is contained in:
Raul Ochoa 2015-09-25 18:41:44 +02:00
parent aa9f742852
commit d35630329f

View File

@ -42,9 +42,7 @@ describe('attributes', function() {
var keysToDelete;
beforeEach(function() {
keysToDelete = {
'user:localhost:mapviews:global': 5
};
keysToDelete = {};
});
afterEach(function(done) {
@ -145,6 +143,7 @@ describe('attributes', function() {
},
function finish(err) {
keysToDelete['map_cfg|' + LayergroupToken.parse(expected_token).token] = 0;
keysToDelete['user:localhost:mapviews:global'] = 5;
done(err);
}
@ -254,6 +253,7 @@ describe('attributes', function() {
},
function finish(err) {
keysToDelete['map_cfg|' + LayergroupToken.parse(expected_token).token] = 0;
keysToDelete['user:localhost:mapviews:global'] = 5;
done(err);
}