mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Initial pass at Synth-based ticker selection (#1392)
* Initial pass at Synth-based ticker selection * Update _tickers.turbo_stream.erb * Functional combobox display * A few cleanup steps * Linter * Prevent long strings * Another step towards functional combobox * Deprecated files * Custom Combobox implementation * Lint * Test suite fixes * Lint * Make direct use of mic codes * Update splits * Update trades_test.rb
This commit is contained in:
parent
490f44589e
commit
cd91e66618
20 changed files with 118 additions and 232 deletions
|
@ -9,6 +9,16 @@ class TradesTest < ApplicationSystemTestCase
|
|||
@account = accounts(:investment)
|
||||
|
||||
visit_account_trades
|
||||
|
||||
Security::SynthComboboxOption.stubs(:find_in_synth).returns([
|
||||
Security::SynthComboboxOption.new(
|
||||
symbol: "AAPL",
|
||||
name: "Apple Inc.",
|
||||
logo_url: "https://logo.synthfinance.com/ticker/AAPL",
|
||||
exchange_acronym: "NASDAQ",
|
||||
exchange_mic: "XNAS"
|
||||
)
|
||||
])
|
||||
end
|
||||
|
||||
test "can create buy transaction" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue