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

7 lines
272 B
Plaintext
Raw Normal View History

2016-04-01 05:33:25 +08:00
module("lib:discourse");
test("getURL on subfolder install", function() {
Discourse.BaseUri = "/forum";
equal(Discourse.getURL("/"), "/forum/", "root url has subfolder");
equal(Discourse.getURL("/users/neil"), "/forum/users/neil", "relative url has subfolder");
});