mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Consolidate and simplify account pages (#2462)
* Remove ScrollFocusable * Consolidate and simplify account pages * Lint fixes * Fix tab param initialization * Remove stale files * Remove stale route, make accountable routes clearer
This commit is contained in:
parent
3eea5a9891
commit
8c97c9d31a
41 changed files with 252 additions and 269 deletions
|
@ -48,7 +48,7 @@ class CreditCardsControllerTest < ActionDispatch::IntegrationTest
|
|||
|
||||
test "updates with credit card details" do
|
||||
assert_no_difference [ "Account.count", "CreditCard.count" ] do
|
||||
patch account_path(@account), params: {
|
||||
patch credit_card_path(@account), params: {
|
||||
account: {
|
||||
name: "Updated Credit Card",
|
||||
balance: 2000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue