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

@@ -113,7 +113,7 @@ describe PostMover do
moved_to.highest_post_number.should == 3
moved_to.featured_user1_id.should == another_user.id
moved_to.like_count.should == 1
moved_to.category.should be_blank
moved_to.category_id.should == SiteSetting.uncategorized_category_id
# Posts should be re-ordered
p2.reload