equal
deleted
inserted
replaced
55 |
55 |
56 test("test template function", function() { |
56 test("test template function", function() { |
57 IriSP.default_templates_vars["test_fixture"] = "FIXTURE"; |
57 IriSP.default_templates_vars["test_fixture"] = "FIXTURE"; |
58 equal(IriSP.templToHTML("{{test_fixture}} {{foo}}", {foo: 2}), "FIXTURE 2", "correct template returned"); |
58 equal(IriSP.templToHTML("{{test_fixture}} {{foo}}", {foo: 2}), "FIXTURE 2", "correct template returned"); |
59 }); |
59 }); |
|
60 |
|
61 test("test url encoding function", function() { |
|
62 equal(IriSP.encodeURI("!'()*"), "%21%27%28%29%2A", "the returned string is correct"); |
|
63 }); |
60 } |
64 } |