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:
parent
ac27a1c87f
commit
77f166a5f8
5 changed files with 23 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue