Remove the did-get-response-details spec

It is not reliable to use external http resource for specs, should setup
our own http server.
This commit is contained in:
Cheng Zhao 2015-04-13 12:24:14 +08:00
parent 64f9f7e906
commit a4c01b2336

View file

@ -221,11 +221,3 @@ describe 'browser-window module', ->
assert.equal url, 'https://www.github.com/'
done()
w.loadUrl "file://#{fixtures}/pages/will-navigate.html"
describe 'did-get-response-details', ->
it 'emits when user requests a resource', (done) ->
w.webContents.on 'did-get-response-details', (event, status, url) ->
assert.notEqual status
assert.equal url, "https://d4hwcs1zqtwzs.cloudfront.net/mac/GitHub%20for%20Mac%20204.zip"
done()
w.loadUrl "https://central.github.com/mac/latest"