win: Fix running spec

This commit is contained in:
Cheng Zhao 2015-06-11 14:14:22 +08:00
parent 5fe130a684
commit 18fcd6990b

View file

@ -54,7 +54,7 @@ describe '<webview> 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"