FIX: PM should never be allowed to have a category

FIX: TL3 should not be allowed to muck with PM titles
This commit is contained in:
Sam
2014-09-11 17:39:20 +10:00
parent f95611aba1
commit 0f585bcdbe
14 changed files with 47 additions and 19 deletions

View File

@ -258,7 +258,7 @@ describe ComposerMessagesFinder do
end
it "doesn't notify you in a private message" do
topic.update_column(:archetype, Archetype.private_message)
topic.update_columns(category_id: nil, archetype: Archetype.private_message)
finder.check_dominating_topic.should be_blank
end