Add loan and credit card views (#1268)

* Add loan and credit card views

* Lint fix

* Clean up overview card markup

* Lint fix

* Test fix
This commit is contained in:
Zach Gollwitzer
2024-10-08 17:16:37 -04:00
committed by GitHub
parent 9263dd3bbe
commit fd941d714d
34 changed files with 564 additions and 102 deletions

View File

@@ -44,7 +44,7 @@ class VehiclesControllerTest < ActionDispatch::IntegrationTest
end
test "updates vehicle" do
assert_no_difference [ "Account.count", "Vehicle.count", "Account::Valuation.count", "Account::Entry.count" ] do
assert_no_difference [ "Account.count", "Vehicle.count" ] do
patch vehicle_path(@account), params: {
account: {
name: "Updated Vehicle",