         editor = null
 
         waitsForPromise ->
-            atom.project.open('sample/sample.php',initialLine: 18).then (o) -> editor = o
+            atom.workspace.open(__dirname + '/sample/sample.php',initialLine: 18).then (o) -> editor = o
 
         runs ->
 

        promise = null

        waitsForPromise ->
            atom.project.open('sample/sample-full-static.php').then (o) -> editor = o

        waitsForPromise ->


        editor = null

        waitsForPromise ->
            atom.workspace.open(__dirname + '/sample/sample-multiple.php',initialLine: 25).then (o) -> editor = o

        runs ->

