]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fix ElggLibTest.prototype.testParseStr
authorSteve Clay <steve@mrclay.org>
Wed, 19 Jun 2013 19:40:30 +0000 (15:40 -0400)
committerSteve Clay <steve@mrclay.org>
Wed, 19 Jun 2013 19:40:30 +0000 (15:40 -0400)
js/tests/ElggLibTest.js
js/tests/README

index 21c6cb2149bfcf71c149835956d1f2be1d655c12..bd39e7fb34e481abbe0bd5213455bccbd1f20d0e 100644 (file)
@@ -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]));
index 4f86b27c6a068369dbb21aec5e8134c5fd3e4c53..f43c0c89d32c5cfa8a9383078b0a325bbc55128d 100644 (file)
@@ -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