From 1a77392813429c5ed13a99359a2d64f1c0b3c9ca Mon Sep 17 00:00:00 2001 From: Ivan Novosad Date: Wed, 22 Jan 2025 13:34:56 +0100 Subject: [PATCH] feat(manual-payments): Fix Hubspot specs --- .../aggregator/invoices/hubspot/create_service_spec.rb | 2 +- .../aggregator/invoices/hubspot/update_service_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/services/integrations/aggregator/invoices/hubspot/create_service_spec.rb b/spec/services/integrations/aggregator/invoices/hubspot/create_service_spec.rb index 03d2f210261..5563e0f22b4 100644 --- a/spec/services/integrations/aggregator/invoices/hubspot/create_service_spec.rb +++ b/spec/services/integrations/aggregator/invoices/hubspot/create_service_spec.rb @@ -6,7 +6,7 @@ subject(:service_call) { service.call } let(:service) { described_class.new(invoice:) } - let(:integration) { create(:hubspot_integration, organization:) } + let(:integration) { create(:hubspot_integration, organization:, invoices_properties_version: 2) } let(:integration_customer) { create(:hubspot_customer, integration:, customer:) } let(:customer) { create(:customer, organization:) } let(:organization) { create(:organization) } diff --git a/spec/services/integrations/aggregator/invoices/hubspot/update_service_spec.rb b/spec/services/integrations/aggregator/invoices/hubspot/update_service_spec.rb index 3620934539c..ac48c13e9b5 100644 --- a/spec/services/integrations/aggregator/invoices/hubspot/update_service_spec.rb +++ b/spec/services/integrations/aggregator/invoices/hubspot/update_service_spec.rb @@ -6,7 +6,7 @@ subject(:service_call) { service.call } let(:service) { described_class.new(invoice:) } - let(:integration) { create(:hubspot_integration, organization:) } + let(:integration) { create(:hubspot_integration, organization:, invoices_properties_version: 2) } let(:integration_customer) { create(:hubspot_customer, integration:, customer:) } let(:integration_invoice) { create(:integration_resource, syncable: invoice, integration:) } let(:customer) { create(:customer, organization:) }