mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Added Decimal Support in min transaction (#1681)
* Added Decimal Support in min transaction * fix: Using inbuilt money field * Updated Test
This commit is contained in:
parent
2a1b5fab1a
commit
eabfb7aae1
3 changed files with 6 additions and 5 deletions
|
@ -50,7 +50,7 @@ class AccountsTest < ApplicationSystemTestCase
|
|||
test "can create credit card account" do
|
||||
assert_account_created "CreditCard" do
|
||||
fill_in "Available credit", with: 1000
|
||||
fill_in "Minimum payment", with: 25
|
||||
fill_in "account[accountable_attributes][minimum_payment]", with: 25.51
|
||||
fill_in "APR", with: 15.25
|
||||
fill_in "Expiration date", with: 1.year.from_now.to_date
|
||||
fill_in "Annual fee", with: 100
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue