mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
rename 'is_support' to 'contains_messages'
This commit is contained in:
@ -902,7 +902,7 @@ describe TopicsController do
|
||||
let(:another_category) { Fabricate(:category) }
|
||||
|
||||
it "cannot change the category of a topic that is in a support category" do
|
||||
@topic.category = Fabricate(:category, is_support: true)
|
||||
@topic.category = Fabricate(:category, contains_messages: true)
|
||||
@topic.save!
|
||||
xhr :put, :update, topic_id: @topic.id, slug: @topic.title, category_id: another_category.id
|
||||
expect(response).not_to be_success
|
||||
|
Reference in New Issue
Block a user