Remove redis keys after each test

This commit is contained in:
Raul Ochoa 2015-09-25 16:23:08 +02:00
parent 0827124492
commit bc818ca9cf

View File

@ -1,4 +1,4 @@
require('../../support/test_helper');
var testHelper = require('../../support/test_helper');
var assert = require('../../support/assert');
var testClient = require('./support/test_client');
@ -18,6 +18,10 @@ describe('torque tiles at 0,0 point', function() {
BaseController.prototype.req2params = req2paramsFn;
});
afterEach(function(done) {
testHelper.deleteRedisKeys({'user:localhost:mapviews:global': 5}, done);
});
/*
Tiles are represented as in: