From 24c1ef780705658f1ab66cc61fbe0b5ac46d07cd Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 27 May 2026 12:52:23 +0530 Subject: [PATCH] test: update cacheable models --- spec/controllers/super_admin/accounts_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/super_admin/accounts_controller_spec.rb b/spec/controllers/super_admin/accounts_controller_spec.rb index e4ff81a08..6944667b0 100644 --- a/spec/controllers/super_admin/accounts_controller_spec.rb +++ b/spec/controllers/super_admin/accounts_controller_spec.rb @@ -45,7 +45,7 @@ RSpec.describe 'Super Admin accounts API', type: :request do context 'when it is an authenticated user' do it 'shows the list of accounts' do - expect(account.cache_keys.keys).to contain_exactly(:inbox, :label, :team) + expect(account.cache_keys.keys).to contain_exactly(:inbox, :label, :team, :canned_response, :account_user, :custom_attribute_definition) sign_in(super_admin, scope: :super_admin) now_timestamp = Time.now.utc.to_i