           waitsFor 'delete callback called', -> deleteSpy.callCount > 0
 
         it "retains its path and reports the buffer as modified", ->
-          expect(csvEditor.getPath()).toBe(absCsvDest)
+          expect(csvEditor.getPath()).toBe(csvDest)
           expect(csvEditor.isModified()).toBeTruthy()
 
       describe 'when the table is not modified', ->

    projectPath = temp.mkdirSync('tablr-project')
    atom.project.setPaths([projectPath])

    absProjectPath = atom.project.resolvePath('.')
    csvDest = path.join(projectPath, fixtureName)
    absCsvDest = path.join(absProjectPath, fixtureName)

    fs.writeFileSync(csvDest, fs.readFileSync(csvFixture).toString().replace(/\s+$/g,''))

    if settings?
      tableEditPackage.csvConfig.set(absCsvDest, 'options',  settings)

    waitsForPromise ->
      atom.workspace.open(fixtureName).then (t) ->


          expect(csvEditor.serialize()).toEqual({
            deserializer: 'CSVEditor'
            filePath: csvDest
            options: csvEditor.options
            choice: 'TableEditor'
            layout:
