           assert (path.path in rootFiles), 'results shouldnt have |' + path.path + '|'
         done()
 
+    it 'even with a custom acceptPath filter', (done) ->
+      path = buildPath()
+      path.files
+        acceptPath: -> true
+        done: (error, result) ->
+          if error? then return done error
+          for path in result.paths
+            assert (path.path in rootFiles), 'results shouldnt have |' + path.path + '|'
+          done()
+
   describe 'sync files', ->
     it 'should list all files in project root', ->
       path = buildPath()



  # path.writer
  describe 'async writer should write file \'path.writer/.txt\'', ->

    it 'with done option', (done) ->

    it 'with correct regex should return true',  -> assert.equal path1.equals(/some\/test\/string/), true
    it 'with matching Path should return true',  -> assert.equal path1.equals(path2), true
    it 'with different Path should return false',-> assert.equal path1.equals(path3), false
    it 'with invalid arg should return error',   -> assert path1.equals(new Date)?.error,


  # path.isReal
  describe 'isReal', ->

    for pair in [
      ['.', true]
      ['./', true]
