Move categories to top-level namespace (#894)

This commit is contained in:
Zach Gollwitzer
2024-06-20 08:15:09 -04:00
committed by GitHub
parent a947db92b2
commit 2681dd96b1
48 changed files with 229 additions and 223 deletions

View File

@@ -16,7 +16,7 @@ class RegistrationsControllerTest < ActionDispatch::IntegrationTest
end
test "create seeds default transaction categories" do
assert_difference "Transaction::Category.count", Transaction::Category::DEFAULT_CATEGORIES.size do
assert_difference "Category.count", Category::DEFAULT_CATEGORIES.size do
post registration_url, params: { user: {
email: "john@example.com",
password: "password",