2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00

change it so all topics MUST include a category, we store a special uncategorized category to compensate

this cleans up a bunch of internals and removes some settings
This commit is contained in:
Sam 2013-10-24 10:05:51 +11:00
parent 6f66d4876a
commit 666264879c
63 changed files with 183 additions and 369 deletions

View file

@ -58,7 +58,7 @@ describe CategoriesController do
}
response.status.should == 200
category = Category.first
category = Category.where(name: "hello").first
category.category_groups.map{|g| [g.group_id, g.permission_type]}.sort.should == [
[Group[:everyone].id, readonly],[Group[:staff].id,create_post]
]