diff -r 0d7326fe77e7 -r 70bc85b31c6d unittests/tests/utils.js --- a/unittests/tests/utils.js Wed Nov 30 17:27:12 2011 +0100 +++ b/unittests/tests/utils.js Thu Dec 01 11:40:35 2011 +0100 @@ -57,4 +57,8 @@ IriSP.default_templates_vars["test_fixture"] = "FIXTURE"; equal(IriSP.templToHTML("{{test_fixture}} {{foo}}", {foo: 2}), "FIXTURE 2", "correct template returned"); }); + + test("test url encoding function", function() { + equal(IriSP.encodeURI("!'()*"), "%21%27%28%29%2A", "the returned string is correct"); + }); }