Account namespace updates: part 5 (valuations) (#901)

* Move Valuation to Account namespace

* Move account history to controller

* Clean up valuation controller and views

* Translations and cleanup

* Remove unused scopes and methods

* Pass brakeman
This commit is contained in:
Zach Gollwitzer
2024-06-21 16:23:28 -04:00
committed by GitHub
parent 0bc0d87768
commit 12380dc8ad
45 changed files with 478 additions and 346 deletions

View File

@@ -75,7 +75,7 @@ class TransactionsControllerTest < ActionDispatch::IntegrationTest
end
assert_equal transaction_params[:amount].to_d, Transaction.order(created_at: :desc).first.amount
assert_equal flash[:notice], "New transaction created successfully"
assert_equal "New transaction created successfully", flash[:notice]
assert_enqueued_with(job: AccountSyncJob)
assert_redirected_to transactions_url
end