Update initial path using atom.loadSettings

This commit is contained in:
Kevin Sawicki
2013-10-02 14:22:02 -07:00
parent 5aa83163ad
commit 156ca6d9fd

View File

@@ -7,7 +7,8 @@ describe "Window", ->
beforeEach ->
spyOn(atom, 'hide')
atom.getLoadSettings().initialPath = project.getPath()
atom.getLoadSettings() # Causes atom.loadSettings to be initialized
atom.loadSettings.initialPath = project.getPath()
project.destroy()
windowEventHandler = new WindowEventHandler()
window.deserializeEditorWindow()