   describe ".resolve(uri)", ->
     describe "when passed an absolute or relative path", ->
       it "returns an absolute path based on the project's root", ->
-        absolutePath = fsUtils.resolveOnLoadPath('fixtures/dir/a')
+        absolutePath = require.resolve('./fixtures/dir/a')
         expect(project.resolve('a')).toBe absolutePath
         expect(project.resolve(absolutePath + '/../a')).toBe absolutePath
         expect(project.resolve('a/../a')).toBe absolutePath

        [projectPath, ignoredPath] = []

        beforeEach ->
          projectPath = fsUtils.resolveOnLoadPath('fixtures/git/working-dir')
          ignoredPath = path.join(projectPath, 'ignored.txt')
          fsUtils.writeSync(ignoredPath, 'this match should not be included')


      ignoredFile = null

      beforeEach ->
        ignoredFile = path.join(__dirname, 'fixtures', 'dir', 'ignored', 'ignored.txt')
        fsUtils.writeSync(ignoredFile, "")

      afterEach ->
