From 4b4afc4c5233d9c9afb0c6dc3dbfff835c409f29 Mon Sep 17 00:00:00 2001 From: Tanmay Sharma Date: Tue, 22 Jul 2025 12:44:43 +0400 Subject: [PATCH] fix the display all inboxes with contact inboxes test case --- spec/controllers/api/v1/accounts/contacts_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/api/v1/accounts/contacts_controller_spec.rb b/spec/controllers/api/v1/accounts/contacts_controller_spec.rb index 5beae6850..189153747 100644 --- a/spec/controllers/api/v1/accounts/contacts_controller_spec.rb +++ b/spec/controllers/api/v1/accounts/contacts_controller_spec.rb @@ -40,7 +40,7 @@ RSpec.describe 'Contacts API', type: :request do let!(:contact_inbox) { create(:contact_inbox, contact: contact) } it 'returns all resolved contacts along with contact inboxes' do - get "/api/v1/accounts/#{account.id}/contacts", + get "/api/v1/accounts/#{account.id}/contacts?include_contact_inboxes=true", headers: admin.create_new_auth_token, as: :json