Skip to content

Commit

Permalink
fix-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Oct 15, 2024
1 parent 30d130c commit e041981
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/services/wallet_transactions/void_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e041981

Please sign in to comment.