mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 07:39:39 +02:00
Multi-currency support: Money + Currency class improvements (#553)
* Money improvements * Replace all old money usage
This commit is contained in:
parent
e5750d1a13
commit
fe2fa0eac1
43 changed files with 2982 additions and 196 deletions
|
@ -22,7 +22,7 @@ class TransactionsControllerTest < ActionDispatch::IntegrationTest
|
|||
post transactions_url, params: { transaction: { account_id: @transaction.account_id, amount: @transaction.amount, currency: @transaction.currency, date: @transaction.date, name: } }
|
||||
end
|
||||
|
||||
assert_redirected_to transaction_url(Transaction.find_by(name:))
|
||||
assert_redirected_to transactions_url
|
||||
end
|
||||
|
||||
test "should show transaction" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue