when the test suite was written tags were default disabled

This commit is contained in:
Sam 2018-10-17 15:57:38 +11:00
parent 8d93b68f80
commit 5beaa359b7
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ RSpec.describe DiscourseChat::Manager do
DiscourseChat::Rule.create!(channel: chan1, filter: 'follow', category_id: nil, tags: [tag1.name])
DiscourseChat::Rule.create!(channel: chan1, filter: 'watch', type: 'group_message', group_id: group.id)
DiscourseChat::Rule.create!(channel: chan2, filter: 'watch', category_id: 1, tags: nil)
SiteSetting.tagging_enabled = false
end
it 'displays the correct rules' do