From c69cdbdca8c464d7d6e950145ebdbf8f5ff31fc5 Mon Sep 17 00:00:00 2001 From: Kegan Myers Date: Mon, 3 Mar 2014 12:46:09 -0600 Subject: [PATCH] Add test for HttpRequest and HttpUrl, bring classes up to spec, change how headers are passed around --- test/Typertext/Http/HttpRequest.test.js | 2 +- test/Typertext/Json/JsonResponse.test.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 test/Typertext/Json/JsonResponse.test.js diff --git a/test/Typertext/Http/HttpRequest.test.js b/test/Typertext/Http/HttpRequest.test.js index 285de2c..29ff9f9 100644 --- a/test/Typertext/Http/HttpRequest.test.js +++ b/test/Typertext/Http/HttpRequest.test.js @@ -1,5 +1,5 @@ describe("Typertext.Http.HttpRequest", function() { - it("Exists", function() { + it("exists", function() { expect(typeof Typertext.Http.HttpRequest).toBe("function"); }); }); \ No newline at end of file diff --git a/test/Typertext/Json/JsonResponse.test.js b/test/Typertext/Json/JsonResponse.test.js new file mode 100644 index 0000000..f9f93dd --- /dev/null +++ b/test/Typertext/Json/JsonResponse.test.js @@ -0,0 +1,5 @@ +describe("Typertext.Json.JsonResponse", function() { + it("exists", function() { + expect(typeof Typertext.Json.JsonResponse).toBe("function"); + }); +}); \ No newline at end of file