 
       daisy queue
 
-    it 'should reset counters with namespaces', (done) ->
-
-      queue = [ ]
-
-      NAMESPACES.forEach (namespace) -> queue.push ->
-        JCounter.reset { namespace }, (err) ->
-          expect(err).to.not.exist
-          queue.next()
-
-      queue.push -> done()
-
-      daisy queue
+
+afterTests = -> after (done) ->
+
+    queue = [ ]
+
+    NAMESPACES.forEach (namespace) -> queue.push ->
+      JCounter.reset { namespace }, (err) ->
+        expect(err).to.not.exist
+        queue.next()
+
+    queue.push -> done()
+
+    daisy queue
 
 
 beforeTests()
 
 runTests()
+
+afterTests()

{ expect } = require 'chai'
{ generateRandomString, checkBongoConnectivity } = require '../../../testhelper'

# this function will be called once before running any test
beforeTests = -> before (done) ->




runTests = ->

  describe 'workers.social.counter.increment', ->

