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


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

CHANGE_TIMEOUT = 400

describe "CSVEditor", ->
  [csvEditor, csvEditorElement, csvDest, projectPath, tableEditor, tableEditorElement, openSpy, destroySpy, savedContent, spy, tableEditPackage, nextAnimationFrame] = []

  sleep = (ms) ->
    start = new Date
