mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Access auto-updater through new electron API in AtomEnvironment spec
This commit is contained in:
committed by
Thomas Johansen
parent
c928b9eb2c
commit
6ca1676bcb
@@ -407,7 +407,7 @@ describe "AtomEnvironment", ->
|
||||
updateAvailableHandler = jasmine.createSpy("update-available-handler")
|
||||
subscription = atom.onUpdateAvailable updateAvailableHandler
|
||||
|
||||
autoUpdater = require('electron').remote.require('auto-updater')
|
||||
autoUpdater = require('electron').remote.autoUpdater
|
||||
autoUpdater.emit 'update-downloaded', null, "notes", "version"
|
||||
|
||||
waitsFor ->
|
||||
|
||||
Reference in New Issue
Block a user