Move merchants to top-level namespace (#895)

This commit is contained in:
Zach Gollwitzer
2024-06-20 08:38:59 -04:00
committed by GitHub
parent 2681dd96b1
commit dc3147c101
29 changed files with 153 additions and 145 deletions

View File

@@ -13,7 +13,7 @@ class SettingsTest < ApplicationSystemTestCase
[ "Accounts", "Accounts", accounts_path ],
[ "Tags", "Tags", tags_path ],
[ "Categories", "Categories", categories_path ],
[ "Merchants", "Merchants", transaction_merchants_path ],
[ "Merchants", "Merchants", merchants_path ],
[ "Rules", "Rules", transaction_rules_path ],
[ "Imports", "Imports", imports_path ],
[ "What's New", "What's New", changelog_path ],

View File

@@ -6,7 +6,7 @@ class TransactionsTest < ApplicationSystemTestCase
@latest_transactions = @user.family.transactions.ordered.limit(20).to_a
@test_category = @user.family.categories.create! name: "System Test Category"
@test_merchant = @user.family.transaction_merchants.create! name: "System Test Merchant"
@test_merchant = @user.family.merchants.create! name: "System Test Merchant"
@target_txn = @user.family.accounts.first.transactions.create! \
name: "Oldest transaction",
date: 10.years.ago.to_date,