#215 テスト・ケース追加

This commit is contained in:
2026-01-12 17:49:20 +09:00
parent 74057cbce9
commit 8b55139f38
16 changed files with 170 additions and 7 deletions
@@ -18,6 +18,8 @@ class UsersController < ApplicationController
end
def renew
return head :unauthorized unless current_user
user = current_user
user.inheritance_code = SecureRandom.uuid
user.save!