mirror of
https://github.com/funamitech/mastodon
synced 2024-12-19 00:59:08 +09:00
12 lines
254 B
Ruby
12 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
|