Remove missing prices issue (#1390)

This commit is contained in:
Zach Gollwitzer
2024-10-29 14:55:46 -04:00
committed by GitHub
parent 7d8028b505
commit bf695972e4
8 changed files with 11 additions and 114 deletions

View File

@@ -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