 celerity = require '../src/celerity'
 
 module.exports =
-
-    # these tests assume 10 seconds latency
 
     'setUp': (done) ->
         this.redis = redis.createClient()

                        test.equals count, 0
                        test.done()

                setTimeout next, 110

        'single bucket is incremented': (test) ->
            config =
                redis: this.redis
                timespanMs: 100
                bucketCount: 1

            celerity.increment config, 'test', 1, (err) ->

                        test.equals count, 5
                        test.done()

                setTimeout next, 40

        'single bucket is cleared after timespan': (test) ->
            config =
                redis: this.redis
                timespanMs: 50
                bucketCount: 1

            celerity.increment config, 'test', 5, (err, count) ->
