rename 'is_support' to 'contains_messages'

This commit is contained in:
Régis Hanol
2015-11-26 18:40:54 +01:00
parent e8a6ff4808
commit ba0df7e4cd
11 changed files with 18 additions and 13 deletions

View File

@ -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