Assert portableAtomHomePath does not exist

This commit is contained in:
Kevin Sawicki
2015-11-03 14:58:51 -08:00
parent 7c504d3692
commit 95eb71090f

View File

@@ -20,6 +20,8 @@ describe "Set Portable Mode on #win32", ->
rimraf.sync(portableAtomHomeBackupPath) if fs.existsSync(portableAtomHomeBackupPath)
it "creates portable home directory", ->
expect(fs.existsSync(portableAtomHomePath)).toBe false
AtomPortable.setPortable(process.env.ATOM_HOME)
expect(fs.existsSync(portableAtomHomePath)).toBe true