Normalize current_username on account migration (#38183)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2026-03-13 09:33:02 +00:00
1 parent 377952703c
commit 6416724f75
3 files changed
+42 -9

No files matched your search

+4
View File
@@ -7,6 +7,10 @@ RSpec.describe AccountMigration do
describe 'acct' do
it { is_expected.to normalize(:acct).from(' @username@domain ').to('username@domain') }
end
describe 'current_username' do
it { is_expected.to normalize(:current_username).from(' @username ').to('username') }
end
end
describe 'Validations' do