Fix naming and formatting

This commit is contained in:
rreimann 2017-05-22 09:08:47 +02:00 committed by Kevin Sawicki
parent 791486433d
commit 25015c4c63
3 changed files with 6 additions and 9 deletions

View file

@ -1048,10 +1048,7 @@ describe('chromium feature', function () {
it('should download a pdf when plugins are disabled', function (done) {
createBrowserWindow(false)
ipcRenderer.sendSync('set-download-option', false, false)
ipcRenderer.once('download-done', function (event, state, url,
mimeType, receivedBytes,
totalBytes, disposition,
filename) {
ipcRenderer.once('download-done', function (event, state, url, mimeType, receivedBytes, totalBytes, disposition, filename) {
assert.equal(state, 'completed')
assert.equal(filename, 'cat.pdf')
assert.equal(mimeType, 'application/pdf')