chore: Add sla policy association to conversation (#7360)

Adds the sla policy association to the conversation

Fixes: https://linear.app/chatwoot/issue/CW-1615/applying-an-sla-to-the-conversation
This commit is contained in:
Sojan Jose
2023-06-21 14:48:50 +05:30
committed by GitHub
parent 93d8157a55
commit 595e6e79f0
8 changed files with 32 additions and 1 deletions

View File

@@ -8,6 +8,11 @@ RSpec.describe Conversation do
describe 'associations' do
it { is_expected.to belong_to(:account) }
it { is_expected.to belong_to(:inbox) }
it { is_expected.to belong_to(:contact) }
it { is_expected.to belong_to(:contact_inbox) }
it { is_expected.to belong_to(:assignee).optional }
it { is_expected.to belong_to(:team).optional }
it { is_expected.to belong_to(:campaign).optional }
end
describe 'concerns' do