diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index 92fcd8f56..ffc2bdba8 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -77,10 +77,10 @@ beforeEach -> config = new Config resourcePath: window.resourcePath configDirPath: atom.getConfigDirPath() - config.setDefaults('core', RootView.configDefaults) - config.setDefaults('editor', Editor.configDefaults) spyOn(config, 'load') spyOn(config, 'save') + config.setDefaults('core', RootView.configDefaults) + config.setDefaults('editor', Editor.configDefaults) config.set "editor.fontFamily", "Courier" config.set "editor.fontSize", 16 config.set "editor.autoIndent", false