1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-23 07:09:39 +02:00

Ignore empty categories while importing (#789)

* Ignore empty categories while importing

* Review fixes
This commit is contained in:
Jakub Kottnauer 2024-05-22 14:12:56 +02:00 committed by GitHub
parent ac27a1c87f
commit 77f166a5f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 23 additions and 8 deletions

View file

@ -14,11 +14,11 @@ module ImportTestHelper
ROWS
end
def valid_csv_with_extra_column
def valid_csv_with_missing_data
<<-ROWS
date,name,category,"optional id",amount
2024-01-01,Starbucks drink,Food,1234,20
2024-01-02,Amazon stuff,Shopping,,200
2024-01-01,Drink,Food,1234,200
2024-01-02,,,,100
ROWS
end