discourse/test/javascripts/lib/discourse-test.js.es6

8 lines
265 B
Plaintext
Raw Normal View History

module("lib:discourse");
test("getURL on subfolder install", function() {
Discourse.BaseUri = "/forum";
equal(Discourse.getURL("/"), "/forum/", "root url has subfolder");
2017-03-28 14:27:54 -04:00
equal(Discourse.getURL("/u/neil"), "/forum/u/neil", "relative url has subfolder");
});