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:
parent
6f66d4876a
commit
666264879c
63 changed files with 183 additions and 369 deletions
|
@ -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]
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue