mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-02 11:59:17 -05:00
7 lines
272 B
Text
7 lines
272 B
Text
|
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");
|
||
|
});
|