This commit is contained in:
Jorge Manrubia
2025-11-03 09:29:43 +01:00
parent b76ff27b96
commit ebe1617f42
2 changed files with 1 additions and 2 deletions
@@ -29,4 +29,3 @@ class Users::JoinsController < ApplicationController
params.expect(user: [ :name, :avatar ])
end
end
@@ -11,7 +11,7 @@ class Account::SettingsControllerTest < ActionDispatch::IntegrationTest
end
test "update" do
put account_settings_path, params: { account: { name: "New Account Name" }}
put account_settings_path, params: { account: { name: "New Account Name" } }
assert_equal "New Account Name", Account.sole.name
assert_redirected_to account_settings_path
end