Account.sole → Current.account
and some other de-tenant changes, including removing the controller tenanting concerns
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user