mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00: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:
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
|
||||
|
||||
Reference in New Issue
Block a user