Automation enhancement (#4087)

This commit is contained in:
Tejaswini Chile
2022-03-21 13:12:27 +05:30
committed by GitHub
parent c608ca37e0
commit e06a6a7c55
17 changed files with 275 additions and 60 deletions

View File

@@ -2,11 +2,13 @@ require 'rails_helper'
RSpec.describe AutomationRule, type: :model do
describe 'associations' do
let(:account) { create(:account) }
let(:params) do
{
name: 'Notify Conversation Created and mark priority query',
description: 'Notify all administrator about conversation created and mark priority query',
event_name: 'conversation_created',
account_id: account.id,
conditions: [
{
attribute_key: 'browser_language',