         @giphy.getNextOption.should.be.called.once
         @giphy.getNextOption.should.be.calledWith state
         should.exist state.options
-        state.options.should.eql {}
+        state.options.should.eql { }
 
       it 'handles true then false result from getNextOption', ->
         state = { args: 'testing' }

        @giphy.sendMessage.should.be.calledWith 'msg', 'uri'

      it 'handles state without a uri', ->
        @giphy.sendResponse {}
        @giphy.error.should.be.called.once

    describe '.sendMessage', ->
      it 'sends a message when msg and message are valid', ->
        @giphy.sendMessage @msg, 'testing'
        @msg.send.should.be.called.once
        @msg.send.should.be.calledWith 'testing'

      it 'ignores calls when msg or message is null', ->
        @giphy.sendMessage()
        @giphy.sendMessage @msg
        @giphy.sendMessage @msg, null
        @giphy.sendMessage undefined, 'testing'
        @giphy.sendMessage null, 'testing'
        @msg.send.should.not.have.been.called

    describe '.respond', ->
      beforeEach ->


      it 'calls the callback with a multiple value collection', ->
        callback = @fakes.stub().returns 'result'
        result = @giphy.getRandomResultData [ 'testing1', 'testing2' ], callback
        callback.should.have.been.called.once
        callback.should.have.been.calledWith sinon.match('testing1').or sinon.match('testing2')
        should.exist result
