mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-19 09:11:20 +09:00
12 lines
237 B
Ruby
12 lines
237 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
RSpec.describe FeaturedTag do
|
|
describe 'Normalizations' do
|
|
describe 'name' do
|
|
it { is_expected.to normalize(:name).from(' #hashtag ').to('hashtag') }
|
|
end
|
|
end
|
|
end
|