UNPKG

hubot-google-hangouts

Version:

Adds 'hangout me' command to start a Google Hangout

17 lines (12 loc) 346 B
chai = require 'chai' sinon = require 'sinon' chai.use require 'sinon-chai' expect = chai.expect describe 'hangouts', -> beforeEach -> @robot = respond: sinon.spy() hear: sinon.spy() require('../src/hangouts')(@robot) it 'registers a respond listener', -> expect(@robot.respond).to.have.been.calledWith(/hangout/)