fix(lint)

This commit is contained in:
Juan Tejada 2016-03-04 10:28:48 -08:00
parent ba0a2f0294
commit 248467894e

View file

@ -289,11 +289,11 @@ describe "FileDownloadStore", ->
expect(shell.showItemInFolder).toHaveBeenCalledWith(@userSelectedPath)
it "should update the NylasEnv.savedState.lastDownloadDirectory", ->
NylasEnv.savedState.lastDownloadDirectory = null
@userSelectedPath = "/Users/imaginary/.nylas/Another Random Folder/file.jpg"
FileDownloadStore._fetchAndSave(@testfile)
advanceClock(1)
expect(NylasEnv.savedState.lastDownloadDirectory).toEqual('/Users/imaginary/.nylas/Another Random Folder')
NylasEnv.savedState.lastDownloadDirectory = null
@userSelectedPath = "/Users/imaginary/.nylas/Another Random Folder/file.jpg"
FileDownloadStore._fetchAndSave(@testfile)
advanceClock(1)
expect(NylasEnv.savedState.lastDownloadDirectory).toEqual('/Users/imaginary/.nylas/Another Random Folder')
describe "file extensions", ->
it "should allow the user to save the file with a different extension", ->