 
   describe "isPathInSrc", ->
     beforeEach ->
-      atom.project.setPaths(["/home/test/github/coffee-compile"])
+      atom.project.setPaths([__dirname])
 
     afterEach ->
       atom.config.unset('coffee-compile')

    it "should not be relative to cwd and return false", ->
      atom.config.set("coffee-compile.cwd", "spec")
      atom.config.set("coffee-compile.source", ["."])
      cwdTestPath = "/home/test/github/coffee-compile/lib/more/folder/fs-util.coffee"

      output = fsUtil.isPathInSrc cwdTestPath
      expect(output).toBe false

      atom.config.set("coffee-compile.destination", "test/folder")

      output = fsUtil.resolvePath testPath
      expect(output).toBe __dirname + "/test/folder/lib/fs-util.coffee"

    it "should flatten path", ->
      atom.config.set("coffee-compile.flatten", true)
      output = fsUtil.resolvePath testPath
      expect(output).toBe __dirname + "/fs-util.coffee"

  describe "writeFile", ->
    editor = null
