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

Plaid sync tests and multi-currency investment support (#1531)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

* Plaid sync tests and multi-currency investment support

* Fix system test

* Cleanup

* Remove data migration
This commit is contained in:
Zach Gollwitzer 2024-12-12 08:56:52 -05:00 committed by GitHub
parent b2a56aefc1
commit 800eb4c146
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 406 additions and 165 deletions

View file

@ -16,7 +16,8 @@ class TradesTest < ApplicationSystemTestCase
name: "Apple Inc.",
logo_url: "https://logo.synthfinance.com/ticker/AAPL",
exchange_acronym: "NASDAQ",
exchange_mic: "XNAS"
exchange_mic: "XNAS",
country_code: "US"
)
])
end
@ -43,7 +44,7 @@ class TradesTest < ApplicationSystemTestCase
end
test "can create sell transaction" do
aapl = @account.holdings.current.find { |h| h.security.ticker == "AAPL" }
aapl = @account.holdings.find { |h| h.security.ticker == "AAPL" }
open_new_trade_modal