mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
TWEAK: If show_subcategory_list is enabled, hide subcategories from
the site map.
This commit is contained in:
@@ -72,7 +72,7 @@ test("categories", function() {
|
||||
var categoryListStub = ["category1", "category2"];
|
||||
this.stub(Discourse.Category, "list").returns(categoryListStub);
|
||||
|
||||
equal(controller.get("categories"), categoryListStub, "returns the list of categories");
|
||||
deepEqual(controller.get("categories"), categoryListStub, "returns the list of categories");
|
||||
});
|
||||
|
||||
test("toggleMobleView", function() {
|
||||
|
||||
Reference in New Issue
Block a user