mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
loan: Set the first valuation as the original principal. (#2088)
Fix: #1645.
This commit is contained in:
@@ -59,6 +59,7 @@ class AccountsTest < ApplicationSystemTestCase
|
||||
|
||||
test "can create loan account" do
|
||||
assert_account_created "Loan" do
|
||||
fill_in "account[accountable_attributes][initial_balance]", with: 1000
|
||||
fill_in "Interest rate", with: 5.25
|
||||
select "Fixed", from: "Rate type"
|
||||
fill_in "Term (months)", with: 360
|
||||
|
||||
Reference in New Issue
Block a user