chore: Refactor Automation Specs (#6796)
The current way of writing specs for automation in one single file automation_listener isn't effective. Hence we are breaking down the specs for each class into separate spec files. fixes: CW-1447
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
FactoryBot.define do
|
||||
factory :automation_rule do
|
||||
account
|
||||
name { 'Test Automation Rule' }
|
||||
event_name { 'conversation_status_changed' }
|
||||
conditions { [{ 'values': ['resolved'], 'attribute_key': 'status', 'query_operator': nil, 'filter_operator': 'equal_to' }] }
|
||||
actions do
|
||||
|
||||
Reference in New Issue
Block a user