           do nock.disableNetConnect
           nock(process.env.PHABRICATOR_URL)
             .get('/api/maniphest.update')
-            .reply( 200, { result: { statusName: 'Wontfix' }})
+            .reply(200, { result: { statusName: 'Wontfix' } })
 
         afterEach ->
           nock.cleanAll()

      do nock.disableNetConnect
      nock(process.env.PHABRICATOR_URL)
        .get('/api/maniphest.info')
        .reply( 200, { result: { status: 'open', priority: 'Low', name: 'Test task', ownerPHID: 'PHID-USER-42' }})
        .get('/api/user.query')
        .reply( 200, { result: [{ userName: 'toto' }]})

    afterEach ->
      nock.cleanAll()

    context 'phab T42', ->
      hubot 'phab T42'
      it "gives information about the task Txxx", ->
        expect(hubotResponse()).to.eql 'T42 has status open, priority Low, owner toto'

    context 'ph T42 # with an ending space', ->
      hubot 'ph T42 '
      it "gives information about the task Txxx", ->
        expect(hubotResponse()).to.eql 'T42 has status open, priority Low, owner toto'



          do nock.disableNetConnect
          nock(process.env.PHABRICATOR_URL)
            .get('/api/maniphest.update')
            .reply(200, { result: { priority: 'Normal' } })

        afterEach ->
          nock.cleanAll()
