diff --git a/spec/services/fees/one_off_service_spec.rb b/spec/services/fees/one_off_service_spec.rb index d0e7fca9417..7131607206a 100644 --- a/spec/services/fees/one_off_service_spec.rb +++ b/spec/services/fees/one_off_service_spec.rb @@ -342,9 +342,5 @@ end end end - - it_behaves_like "applies invoice_custom_sections" do - let(:service_call) { one_off_service.call } - end end end diff --git a/spec/services/invoices/add_on_service_spec.rb b/spec/services/invoices/add_on_service_spec.rb index 4f1361b7034..4430340863d 100644 --- a/spec/services/invoices/add_on_service_spec.rb +++ b/spec/services/invoices/add_on_service_spec.rb @@ -108,7 +108,7 @@ end it_behaves_like "applies invoice_custom_sections" do - let(:service_call) { invoice_service.call } + let(:service_call) { invoice_service.create } end context 'with customer timezone' do diff --git a/spec/services/invoices/create_one_off_service_spec.rb b/spec/services/invoices/create_one_off_service_spec.rb index 21b9cb5b861..af26b5f3f9c 100644 --- a/spec/services/invoices/create_one_off_service_spec.rb +++ b/spec/services/invoices/create_one_off_service_spec.rb @@ -68,7 +68,7 @@ end it_behaves_like "applies invoice_custom_sections" do - let(:service_call) { invoice_service.call } + let(:service_call) { create_service.call } end it 'calls SegmentTrackJob' do diff --git a/spec/services/invoices/refresh_draft_and_finalize_service_spec.rb b/spec/services/invoices/refresh_draft_and_finalize_service_spec.rb index 7c93708790e..dfc977abbfd 100644 --- a/spec/services/invoices/refresh_draft_and_finalize_service_spec.rb +++ b/spec/services/invoices/refresh_draft_and_finalize_service_spec.rb @@ -80,7 +80,7 @@ end it_behaves_like "applies invoice_custom_sections" do - let(:service_call) { invoice_service.call } + let(:service_call) { finalize_service.call } end it 'enqueues a SendWebhookJob' do