From 3108b8aacda1d6eafa9cb601b26a3fee41050d5f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 25 Aug 2016 14:40:15 -0700 Subject: [PATCH] Use path to non-existent file --- spec/api-session-spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/api-session-spec.js b/spec/api-session-spec.js index bcb861683..1caa08d12 100644 --- a/spec/api-session-spec.js +++ b/spec/api-session-spec.js @@ -327,7 +327,7 @@ describe('session module', function () { assert.equal(state, 'interrupted') done() }) - w.webContents.downloadURL('file://' + __dirname) + w.webContents.downloadURL('file://' + path.join(__dirname, 'does-not-exist.txt')) }) }) })