test: update cacheable models

This commit is contained in:
Shivam Mishra
2026-05-27 12:52:23 +05:30
parent c929319045
commit 24c1ef7807
@@ -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