diff --git a/spec/webview-spec.coffee b/spec/webview-spec.coffee index 2b67fb5b0de3..a1a1724380cc 100644 --- a/spec/webview-spec.coffee +++ b/spec/webview-spec.coffee @@ -54,7 +54,7 @@ describe ' tag', -> assert.equal e.message, 'function' done() webview.addEventListener 'console-message', listener2 - webview.src = "file://#{fixtures}/pages/native-module.html" + webview.reload() webview.addEventListener 'did-finish-load', listener webview.setAttribute 'nodeintegration', 'on' webview.src = "file://#{fixtures}/pages/native-module.html"