Remove all infrastructure around approving or rejecting user name changes. Name changes haven't been moderated for several years. * Remove status, approver_id, change_reason, and rejection_reason fields. * Remove approve and reject controller actions.
8 lines
173 B
Ruby
8 lines
173 B
Ruby
FactoryBot.define do
|
|
factory(:user_name_change_request) do
|
|
user
|
|
original_name {FFaker::Internet.user_name}
|
|
desired_name {FFaker::Internet.user_name}
|
|
end
|
|
end
|