       path.files (error, result) ->
         if error? then return done error
         for path in result.paths
-          assert (path.path in rootFiles), 'results shouldnt have |' + path + '|'
+          assert (path.path in rootFiles), 'results shouldnt have |' + path.path + '|'
         done()
 
   describe 'sync files', ->

        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()



            done:(error, result) ->
              if error? then return done error
              for path in result.paths
                assert (path.path in rootPaths), 'results shouldnt have |' + path.path + '|'
              done()

      describe 'with `accept` \'lib\' and `done` option', ->
