From 2a6d4f08c8108cc3274fd1bfaddf6238a1d5e657 Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Sun, 31 Jul 2011 10:06:44 -0400 Subject: [PATCH] Fixed core_only.html. Closes #39 --- test/README.md | 7 +++---- test/public/core.js | 14 +++++++------- test/{ => public}/core_only.html | 13 ++++++++++--- 3 files changed, 20 insertions(+), 14 deletions(-) rename test/{ => public}/core_only.html (64%) diff --git a/test/README.md b/test/README.md index 987128a..a2b2d85 100644 --- a/test/README.md +++ b/test/README.md @@ -1,10 +1,10 @@ # Agility.js - Unit tests -To test core components _without_ persistence point your browser to: +To test core components _without_ persistence (which requires Node.js), point your browser to: - http://localhost/agility/test/core_only.html + public/core_only.html -To run the full test including persistence you need `node` and `npm`. From the command line: +To run the full test including persistence you will need `node` and `npm`. From the command line: npm install node server.js @@ -12,4 +12,3 @@ To run the full test including persistence you need `node` and `npm`. From the c Then point your browser to: http://localhost:8222/ - diff --git a/test/public/core.js b/test/public/core.js index df0c549..7e99be0 100644 --- a/test/public/core.js +++ b/test/public/core.js @@ -7,13 +7,13 @@ // // -------------------------------- - module("JSHint"); - - test("JSHint", function(){ - var result = JSHINT(window.agilitySource, {proto:true}); - var errors = result ? '' : JSHINT.errors; - equals(errors, '', "JSHint test"); - }); + // module("JSHint"); + // + // test("JSHint", function(){ + // var result = JSHINT(window.agilitySource, {proto:true}); + // var errors = result ? '' : JSHINT.errors; + // equals(errors, '', "JSHint test"); + // }); // -------------------------------- // diff --git a/test/core_only.html b/test/public/core_only.html similarity index 64% rename from test/core_only.html rename to test/public/core_only.html index e97520e..5009863 100644 --- a/test/core_only.html +++ b/test/public/core_only.html @@ -16,12 +16,19 @@

- - + + - +