Account.sole → Current.account

and some other de-tenant changes, including removing the controller
tenanting concerns
This commit is contained in:
Mike Dalessio
2025-11-10 07:58:40 -05:00
parent 6705b5225f
commit d41d50d52b
40 changed files with 67 additions and 96 deletions
@@ -12,7 +12,7 @@ class Account::SettingsControllerTest < ActionDispatch::IntegrationTest
test "update" do
put account_settings_path, params: { account: { name: "New Account Name" } }
assert_equal "New Account Name", Account.sole.name
assert_equal "New Account Name", Current.account.name
assert_redirected_to account_settings_path
end