mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 12:04:08 +00:00
Remove missing prices issue (#1390)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user