Last active
December 20, 2015 16:58
-
-
Save darrenderidder/6164944 to your computer and use it in GitHub Desktop.
Revisions
-
73rhodes revised this gist
Aug 6, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ describe('app', function () { done(); }); it('should be listening at localhost:3333', function (done) { var headers = defaultGetOptions('/'); http.get(headers, function (res) { res.statusCode.should.eql(404); -
73rhodes created this gist
Aug 6, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ describe('app', function () { before (function (done) { app.listen(port, function (err, result) { if (err) { done(err); } else { done(); } }); after(function (done) { app.close(); }); it('should exist', function (done) { should.exist(app); done(); }); it('should be listening at https://localhost:3333', function (done) { var headers = defaultGetOptions('/'); http.get(headers, function (res) { res.statusCode.should.eql(404); done(); }); }); });