catstodon/spec/models/account_alias_spec.rb
2024-09-04 05:12:40 +00:00

11 lines
254 B
Ruby

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AccountAlias do
describe 'Normalizations' do
describe 'acct' do
it { is_expected.to normalize(:acct).from(' @username@domain ').to('username@domain') }
end
end
end