Add spec for sending http request.

This commit is contained in:
Cheng Zhao 2013-09-29 20:57:57 +08:00
parent 43a5453de5
commit b50a2c9dc1

7
spec/web/http.coffee Normal file
View file

@ -0,0 +1,7 @@
describe 'http', ->
describe 'sending request of http protocol urls', ->
it 'should not crash', (done) ->
$.ajax
url: 'http://127.0.0.1'
success: -> done()
error: -> done()