From 6d0f303cd5bbd05665ebc443a0ec452f5c985852 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 11 Jun 2013 15:48:11 -0700 Subject: [PATCH] Set initialPath on load settings --- spec/app/window-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/app/window-spec.coffee b/spec/app/window-spec.coffee index ae3093892..f2449c51c 100644 --- a/spec/app/window-spec.coffee +++ b/spec/app/window-spec.coffee @@ -8,7 +8,7 @@ describe "Window", -> [projectPath, windowEventHandler] = [] beforeEach -> - spyOn(atom, 'getPathToOpen').andReturn(project.getPath()) + atom.getLoadSettings().initialPath = project.getPath() windowEventHandler = new WindowEventHandler() window.deserializeEditorWindow() projectPath = project.getPath()