     req =
       method: 'POST'
       url: '/'
-      payload: payload(option, channel_id)
+      payload: payload(option)
 
     server.inject(req).then (@res) =>
 

        done()

    describe 'channel 2', ->
      before (done) ->
        option = 'end'
        channel_id = 'chan2'
        done()

      it 'checks only channel 1 votes', (done) ->
        expect(@res.result.attachments).to

          server.inject(method: 'POST', url: '/', payload: payload(13, 'chan2') )

    describe 'channel 1', ->
      beforeEach ->
        server.inject(method: 'POST', url: '/', payload: payload('end', 'chan1') )
          .then (@res) =>

      it 'checks only channel 1 votes', (done) ->
        expect(@res.result.attachments).to
