 
                 test.done()
 
-        'increment and then read returns increment initially': (test) ->
+        'increment and then read returns increment before expire': (test) ->
             config =
                 redis: this.redis
-                timespanMs: 100
+                timespanMs: 50
                 bucketCount: 1
 
             celerity.increment config, 'test', 5, (err) ->

            throw err if err?
            done()

    'single 100 ms bucket':

        'read returns 0 initially': (test) ->
            config =
                redis: this.redis
                timespanMs: 100
                bucketCount: 1

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

celerity = require '../src/celerity'

module.exports =

    'setUp': (done) ->
        this.redis = redis.createClient()
