mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Remove missing prices issue (#1390)
This commit is contained in:
parent
7d8028b505
commit
bf695972e4
8 changed files with 11 additions and 114 deletions
|
@ -89,12 +89,4 @@ class AccountTest < ActiveSupport::TestCase
|
|||
assert_equal 10, account.holding_qty(security, date: 1.day.ago.to_date)
|
||||
assert_equal 0, account.holding_qty(security, date: 2.days.ago.to_date)
|
||||
end
|
||||
|
||||
test "can observe missing price" do
|
||||
account = accounts(:investment)
|
||||
|
||||
assert_difference -> { account.issues.count } do
|
||||
account.observe_missing_price(ticker: "AAPL", date: Date.current)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue