     beforeEach (done) ->
       @room = helper.createRoom()
       @room.user.say 'Tester', 'Hubot which version are you on?'
-      Q.delay(200).done -> done()
+      Q.delay(msDelay).done -> done()
 
     afterEach -> @room.destroy()
 

      unmute = mute() # supress hubot messages in test results
      @cb = sinon.spy @bot.listeners[1], 'callback'
      @bot.receive new TextMessage @user, 'Is Hubot listening?', '111'
      Q.delay(200).done =>
        unmute()
        done()


Q = require 'q'
_ = require 'underscore'
mute = require 'mute'
assert = require 'power-assert'
sinon = require 'sinon'
