mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Update initial path using atom.loadSettings
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user