aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-06-19 15:40:30 -0400
committerSteve Clay <steve@mrclay.org>2013-06-19 15:40:30 -0400
commit8464276af251c8938ecdeb558de4ccaece4f628a (patch)
tree73fcf3406f619b0f11b8acbaa7c988dad8b3f4b6 /js
parent77773f0cf081dbb7321075f625cc4ef3d07bbe3b (diff)
downloadelgg-8464276af251c8938ecdeb558de4ccaece4f628a.tar.gz
elgg-8464276af251c8938ecdeb558de4ccaece4f628a.tar.bz2
Fix ElggLibTest.prototype.testParseStr
Diffstat (limited to 'js')
-rw-r--r--js/tests/ElggLibTest.js2
-rw-r--r--js/tests/README5
2 files changed, 4 insertions, 3 deletions
diff --git a/js/tests/ElggLibTest.js b/js/tests/ElggLibTest.js
index 21c6cb214..bd39e7fb3 100644
--- a/js/tests/ElggLibTest.js
+++ b/js/tests/ElggLibTest.js
@@ -131,7 +131,7 @@ ElggLibTest.prototype.testParseUrl = function() {
ElggLibTest.prototype.testParseStr = function() {
[
- ["A+%2B+B", "A + B"]
+ ["A+%2B+B=A+%2B+B", {"A + B": "A + B"}]
].forEach(function(args) {
assertEquals(args[1], elgg.parse_str(args[0]));
diff --git a/js/tests/README b/js/tests/README
index 4f86b27c6..f43c0c89d 100644
--- a/js/tests/README
+++ b/js/tests/README
@@ -12,9 +12,10 @@ based debuggers. Visit its wiki at the Google Code site for more information.
Sample Usage
============
1. Put jar file in the base directory of Elgg
- 2. Run the server: java -jar JsTestDriver-1.3.3d.jar --port 4224
+ 2. Run the server: java -jar JsTestDriver-1.3.5.jar --port 4224
3. Point a web browser at http://localhost:4224
- 4. Run the tests: java -jar JsTestDriver-1.3.3d.jar --config js/tests/jsTestDriver.conf --basePath . --tests all
+ 4. Click "Capture this browser"
+ 5. Run the tests: java -jar JsTestDriver-1.3.5.jar --config js/tests/jsTestDriver.conf --basePath . --tests all
Configuration Hints