From a9573987eccc42ca286f61110a38c051269eeac2 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Fri, 25 Sep 2015 14:23:13 +0200 Subject: [PATCH] Remove redis keys after each test --- test/acceptance/named_maps_authentication.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/acceptance/named_maps_authentication.js b/test/acceptance/named_maps_authentication.js index fe6da567..5e100941 100644 --- a/test/acceptance/named_maps_authentication.js +++ b/test/acceptance/named_maps_authentication.js @@ -94,7 +94,7 @@ describe('named maps authentication', function() { } }; - before(function (done) { + beforeEach(function (done) { templateMaps.addTemplate(username, nestedNamedMapTemplate, function (err) { if (err) { return done(err); @@ -110,7 +110,7 @@ describe('named maps authentication', function() { }); }); - after(function (done) { + afterEach(function (done) { templateMaps.delTemplate(username, nestedNamedMapTemplateName, function (err) { if (err) { return done(err);