1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-23 15:19:38 +02:00

Fix transfers and form currencies (#1477)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Zach Gollwitzer 2024-11-18 15:50:47 -05:00 committed by GitHub
parent fcb95207d7
commit 81d604f3d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 41 additions and 19 deletions

View file

@ -27,6 +27,7 @@ class Account::TradesControllerTest < ActionDispatch::IntegrationTest
type: "transfer_in",
date: Date.current,
amount: 10,
currency: "USD",
transfer_account_id: from_account.id
}
}
@ -46,6 +47,7 @@ class Account::TradesControllerTest < ActionDispatch::IntegrationTest
type: "transfer_out",
date: Date.current,
amount: 10,
currency: "USD",
transfer_account_id: to_account.id
}
}
@ -62,7 +64,8 @@ class Account::TradesControllerTest < ActionDispatch::IntegrationTest
account_entry: {
type: "transfer_out",
date: Date.current,
amount: 10
amount: 10,
currency: "USD"
}
}
end
@ -80,7 +83,8 @@ class Account::TradesControllerTest < ActionDispatch::IntegrationTest
account_entry: {
type: "interest",
date: Date.current,
amount: 10
amount: 10,
currency: "USD"
}
}
end