From b50a2c9dc1d5750b275c1111660d57c35fbc1e32 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 29 Sep 2013 20:57:57 +0800 Subject: [PATCH] Add spec for sending http request. --- spec/web/http.coffee | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 spec/web/http.coffee diff --git a/spec/web/http.coffee b/spec/web/http.coffee new file mode 100644 index 0000000..896f3cf --- /dev/null +++ b/spec/web/http.coffee @@ -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() -- 2.7.4