mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-10 07:55:21 +02:00
Fix test
This commit is contained in:
parent
75c3adcec0
commit
1ad7b99cd9
1 changed files with 2 additions and 2 deletions
|
@ -24,10 +24,10 @@ class AccountTest < ActiveSupport::TestCase
|
|||
|
||||
assert_equal "HSA", account.short_subtype_label
|
||||
assert_equal "Health Savings Account", account.long_subtype_label
|
||||
|
||||
|
||||
# Test with nil subtype
|
||||
account.update!(subtype: nil)
|
||||
assert_equal "Investments", account.short_subtype_label
|
||||
assert_equal "Investments", account.long_subtype_label
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue