hubot-seinfeld
Version:
Create Seinfeld logos of your text with hubot.
17 lines (12 loc) • 350 B
text/coffeescript
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
describe 'seinfeld', ->
beforeEach ->
@robot =
respond: sinon.spy()
hear: sinon.spy()
require('../src/seinfeld')(@robot)
it 'registers a respond listener', ->
expect(@robot.respond).to.have.been.calledWith(/seinfeld me/)