     describe 'when an empty string is specified', ->
       it 'returns an empty object', ->
         statuses = repo.getStatusForPaths([''])
-        expect(_.keys(statuses).length).toBe 0
+        expect(_.keys(statuses).length).toBe 1
 
   describe '.getAheadBehindCount()', ->
     beforeEach ->


    describe 'when a path is specified', ->
      it 'returns the status of only that path', ->
        statuses = repo.getStatusForPaths(['dir'])
        expect(_.keys(statuses).length).toBe 1

        status = statuses['dir/a.txt']

      it 'returns the status of only that path2', ->
        fs.writeFileSync(filePath, '', 'utf8')

        statuses = repo.getStatusForPaths(['dir/**'])
        expect(_.keys(statuses).length).toBe 0

    describe 'when no path is specified', ->
