mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
Investment Portfolio Sync (#974)
* Add investment portfolio models * Add portfolio to demo data * Setup initial tests * Rough sketch of sync logic * Clean up trade sync logic * Add trade validation * Integrate trades into sync process
This commit is contained in:
parent
d0bc959bee
commit
47523f64c2
32 changed files with 591 additions and 56 deletions
|
@ -61,7 +61,7 @@ class TransfersTest < ApplicationSystemTestCase
|
|||
end
|
||||
|
||||
test "can mark a single transaction as a transfer" do
|
||||
txn = @user.family.entries.reverse_chronological.first
|
||||
txn = @user.family.entries.account_transactions.reverse_chronological.first
|
||||
|
||||
within "#" + dom_id(txn) do
|
||||
assert_text txn.account_transaction.category.name || "Uncategorized"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue