mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 03:24:09 +00:00
Plaid sync tests and multi-currency investment support (#1531)
* Plaid sync tests and multi-currency investment support * Fix system test * Cleanup * Remove data migration
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user