Add spec for sending http request.
This commit is contained in:
parent
43a5453de5
commit
b50a2c9dc1
1 changed files with 7 additions and 0 deletions
7
spec/web/http.coffee
Normal file
7
spec/web/http.coffee
Normal 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()
|
Loading…
Reference in a new issue