From 21e220cd5fb1cd0250e6e34d9024e1dbf68b053f Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Tue, 12 Sep 2017 10:13:05 -0400 Subject: [PATCH] Stub the correct fs method --- spec/config-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/config-spec.coffee b/spec/config-spec.coffee index e1cd754d9..cb4b19113 100644 --- a/spec/config-spec.coffee +++ b/spec/config-spec.coffee @@ -878,7 +878,7 @@ describe "Config", -> beforeEach -> atom.notifications.onDidAddNotification addErrorHandler = jasmine.createSpy() - spyOn(fs, "existsSync").andCallFake -> + spyOn(fs, "makeTreeSync").andCallFake -> error = new Error() error.code = 'EPERM' throw error