mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Add Local Development Demo Data (#502)
* Clean up seeds, add development demo data * Handle liability account display and sync * Fix tests
This commit is contained in:
parent
dbf575c02a
commit
14641d16de
12 changed files with 368 additions and 62 deletions
6
test/fixtures/accounts.yml
vendored
6
test/fixtures/accounts.yml
vendored
|
@ -21,3 +21,9 @@ savings_with_valuation_overrides:
|
|||
family: dylan_family
|
||||
name: Savings account with valuation overrides
|
||||
balance: 20000
|
||||
|
||||
# Liability account
|
||||
credit_card:
|
||||
family: dylan_family
|
||||
name: Credit Card
|
||||
balance: 1000
|
||||
|
|
25
test/fixtures/transactions.yml
vendored
25
test/fixtures/transactions.yml
vendored
|
@ -53,3 +53,28 @@ savings_four:
|
|||
date: <%= 29.days.ago.to_date %>
|
||||
amount: -500
|
||||
account: savings_with_valuation_overrides
|
||||
|
||||
# Credit card account transactions
|
||||
credit_card_one:
|
||||
name: Starbucks
|
||||
date: <%= 5.days.ago.to_date %>
|
||||
amount: 10
|
||||
account: credit_card
|
||||
|
||||
credit_card_two:
|
||||
name: Chipotle
|
||||
date: <%= 12.days.ago.to_date %>
|
||||
amount: 30
|
||||
account: credit_card
|
||||
|
||||
credit_card_three:
|
||||
name: Amazon
|
||||
date: <%= 15.days.ago.to_date %>
|
||||
amount: 20
|
||||
account: credit_card
|
||||
|
||||
credit_card_four:
|
||||
name: CC Payment
|
||||
date: <%= 29.days.ago.to_date %>
|
||||
amount: -100
|
||||
account: credit_card
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue