     beforeEach ->
       co =>
         yield @room.user.say 'john', "hubot trending /bad_user/bad_project"
-        yield new Promise.delay(500)
+        yield new Promise.delay(2000)
 
     it 'gets the python trending projects', ->
       expect(@room.messages).to.eql [

    beforeEach ->
      co =>
        yield @room.user.say 'john', "hubot trending"
        yield new Promise.delay(500)

    it 'gets the trending projects', ->
      expect(@room.messages[0]).to.eql ['john', "hubot trending"]

expect = require('chai').expect

describe 'github-trending', ->
  this.timeout(5000)

  beforeEach ->
    @room = helper.createRoom(httpd: false)

