           .reply(200, require('./fixtures/override_get-ok.json'))
           .delete('/schedules/42/overrides/PQ47DCP')
           .reply(200, require('./fixtures/override_get-ok.json'))
-
         afterEach ->
           nock.cleanAll()
 

          nock('https://api.pagerduty.com')
          .post('/incidents/PT4KHLK/notes')
          .reply(200, require('./fixtures/note_create-ok.json'))

        afterEach ->
          nock.cleanAll()


            .to.eql 'Ok, momo! Aurelio Rice override is cancelled.'

    # ----------------------------------------------------------------------------------------------
    describe '".pd me now"', ->
      context 'when something goes wrong,', ->
        beforeEach ->
          nock('https://api.pagerduty.com')
          .get('/oncalls?time_zone=UTC&schedule_ids%5B%5D=42&earliest=true')
          .reply 503, { error: { code: 503, message: "it's all broken!" } }
        afterEach ->
          room.robot.brain.data.pagerv2 = { }
          nock.cleanAll()

        say 'pd me now', ->
          it 'returns the error message', ->
            expect(hubotResponse())
            .to.eql "503 it's all broken!"

      context 'when everything goes right,', ->
        beforeEach ->
          nock('https://api.pagerduty.com')
          .get('/oncalls?time_zone=UTC&schedule_ids%5B%5D=42&earliest=true')
          .reply(200, require('./fixtures/oncall_list-ok.json'))
          .post('/schedules/42/overrides')
          .reply(200, require('./fixtures/override_create-ok.json'))
        afterEach ->
          nock.cleanAll()

        say 'pd me now', ->
          it 'returns name of who is on call', ->
            expect(hubotResponse())
            .to.eql 'Rejoice Aurelio Rice! momo is now on call.'

    # ----------------------------------------------------------------------------------------------
    describe '".pd incident 1234"', ->
      context 'when something goes wrong,', ->
        beforeEach ->
