From e041981d6278d75e489b66aa795488f4d05b4930 Mon Sep 17 00:00:00 2001 From: Anna Velentsevich Date: Tue, 15 Oct 2024 17:31:32 +0200 Subject: [PATCH] fix-linter --- spec/services/wallet_transactions/void_service_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/services/wallet_transactions/void_service_spec.rb b/spec/services/wallet_transactions/void_service_spec.rb index 6f2a58607532..affebf0404c2 100644 --- a/spec/services/wallet_transactions/void_service_spec.rb +++ b/spec/services/wallet_transactions/void_service_spec.rb @@ -80,9 +80,10 @@ end context 'when credit_note_id is passed' do - let(:credit_note_id) { create(:credit_note, organization: organization).id } subject(:void_service) { described_class.call(wallet:, credits:, credit_note_id:) } + let(:credit_note_id) { create(:credit_note, organization: organization).id } + it 'saves credit_note_id in wallet_transaction' do result = void_service wallet_transaction = result.wallet_transaction