Browse Source

Use path to non-existent file

Kevin Sawicki 8 years ago
parent
commit
3108b8aacd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/api-session-spec.js

+ 1 - 1
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'))
       })
     })
   })