           path.list done:(error, result) ->
             if error? then return done error
             for path in result.paths
-              assert (path.path in rootPaths), 'results shouldnt have |' + path + '|'
+              assert (path.path in rootPaths), 'results shouldnt have |' + path.path + '|'
             done()
 
       describe 'with only `all` option', ->

        it 'should list all the project root paths', (done) ->
          path = new Path
          path.list
            each:(path) ->
              assert (path.path in rootPaths), 'each shouldnt receive : |' + path + '|'
            done: (error, result) ->
              if error? then return done error
              for path in result.paths
                assert (path.path in rootPaths), 'results shouldnt have |' + path + '|'
              done()



          path = new Path
          result = path.list()
          for path in result.paths
            assert (path.path in rootPaths), 'results shouldnt have |' + path.path + '|'

      describe 'with only `accept` option', ->

