           newNestedFilePath = path.join(newNestedDirPath, 'nested.txt')
           fs.writeFileSync(newNestedFilePath, 'new')
 
-          onlyNewDirPath = path.join(alphaDirPath, 'new')
+          onlyNewDirPath = path.join(newAlphaDirPath, 'new')
           fs.mkdirSync(onlyNewDirPath)
           onlyNewFilePath = path.join(onlyNewDirPath, 'no-conflict.txt')
           fs.writeFileSync(onlyNewFilePath, 'neither')

        runs ->
          expect(findDirectoryContainingText(treeView.roots[0], 'alpha').querySelectorAll('.entry').length).toBe 4

    fdescribe "when dragging entries that already exist", ->
      deltaAlphaFilePath = null

      describe "when dragging a single file", ->

          expect(fs.readFileSync(bAlphaFilePath, 'utf8')).toBe 'old'
          expect(fs.readFileSync(cAlphaFilePath, 'utf8')).toBe 'old'

      describe "when dragging directories", ->
        [oldAFilePath, oldBFilePath, oldCFilePath, oldNestedDirPath, oldNestedFilePath,
         onlyOldDirPath, onlyOldFilePath, newAlphaDirPath, newAFilePath, newBFilePath,
        newCFilePath, newNestedDirPath, newNestedFilePath, onlyNewDirPath, onlyNewFilePath] = []
