 			polling.registerPollingChannel testChannel, ->
 				agendaSpy.define.calledOnce.should.be.true
 				agendaSpy.define.getCall(0).args[0].should.eql('polling-job-' + testChannel._id)
-
 				done()
 
 		it 'should cancel a job if it already exists', (done) ->

			polling.setupAgenda agendaSpy
			polling.registerPollingChannel testChannel2, (err) ->
				err.should.exist

				done()

	describe 'removePollingChannel', ->

				agendaSpy.every.calledOnce.should.be.true
				agendaSpy.every.getCall(0).args[0].should.eql testChannel.pollingSchedule
				agendaSpy.every.getCall(0).args[1].should.eql "polling-job-#{testChannel._id}"
				done()

		it 'should return an error if a the polling schedule is not set', (done) ->
