mirror of
https://github.com/we-promise/sure.git
synced 2026-05-12 07:05:00 +00:00
Add assurance vie to investment subtypes (#1665)
* add assurance vie in investment subtype * add unit test for assurance vie subtype
This commit is contained in:
@@ -99,6 +99,10 @@ class InvestmentTest < ActiveSupport::TestCase
|
||||
assert_equal :tax_advantaged, investment.tax_treatment
|
||||
end
|
||||
|
||||
test "tax_treatment returns tax_advantaged for French AV" do
|
||||
investment = Investment.new(subtype: "assurance_vie")
|
||||
assert_equal :tax_advantaged, investment.tax_treatment
|
||||
end
|
||||
# Generic account types
|
||||
|
||||
test "tax_treatment returns tax_deferred for generic pension and retirement" do
|
||||
|
||||
Reference in New Issue
Block a user