mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:54:16 +08:00
7 lines
272 B
JavaScript
7 lines
272 B
JavaScript
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");
|
|
}); |