Browse Source

Update expected error message for missing remote object

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

+ 1 - 1
spec/api-ipc-spec.js

@@ -500,7 +500,7 @@ describe('ipc module', function () {
       })
 
       ipcMain.once('error-message', (event, message) => {
-        assert(message.startsWith('Cannot call function \'getURL\' on missing remote object'), message)
+        assert(message.startsWith('Cannot read property \'object\' of undefined'), message)
         done()
       })