From ffd60ea29ea45d1f4480e2a75ff99fae9e3bd07f Mon Sep 17 00:00:00 2001 From: Sojan Date: Thu, 23 Jan 2025 02:06:31 +0530 Subject: [PATCH] chore: spec fix --- .../enterprise/api/v1/accounts_controller_spec.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/spec/enterprise/controllers/enterprise/api/v1/accounts_controller_spec.rb b/spec/enterprise/controllers/enterprise/api/v1/accounts_controller_spec.rb index 2af04f9b1..6373bc842 100644 --- a/spec/enterprise/controllers/enterprise/api/v1/accounts_controller_spec.rb +++ b/spec/enterprise/controllers/enterprise/api/v1/accounts_controller_spec.rb @@ -173,6 +173,18 @@ RSpec.describe 'Enterprise Billing APIs', type: :request do 'id' => account.id, 'limits' => { 'conversation' => {}, + 'captain' => { + 'documents' => { + 'consumed' => 0, + 'current_available' => ChatwootApp.max_limit, + 'total_count' => ChatwootApp.max_limit + }, + 'responses' => { + 'consumed' => 0, + 'current_available' => ChatwootApp.max_limit, + 'total_count' => ChatwootApp.max_limit + } + }, 'non_web_inboxes' => {} } }