     tags = []
 
     waitsForPromise ->
-      path = require.resolve('fixtures/sample.js')
+      path = project.resolve('sample.js')
       generator = new TagGenerator(path)
       generator.generate().done (generatedTags) ->
         tags = generatedTags

      tags = []

      waitsForPromise ->
        path = require.resolve('fixtures/sample.txt')
        generator = new TagGenerator(path)
        generator.generate().done (generatedTags) ->
          tags = generatedTags

      tags = []

      waitsForPromise ->
        path = project.resolve('sample.js')
        generator = new TagGenerator(path)
        generator.generate().done (generatedTags) ->
          tags = generatedTags
