Fix failing spec

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-08-23 10:45:17 -07:00
parent 1b285d9b39
commit 26d17f7525

View File

@@ -48,7 +48,9 @@ describe 'File', ->
newPath = fs.join(fs.directory(path), "atom-file-was-moved-test.txt")
afterEach ->
fs.remove(newPath) if fs.exists(newPath)
if fs.exists(newPath)
fs.remove(newPath)
waitsFor "remove event", (done) -> file.on 'remove', done
it "it updates its path", ->
moveHandler = null