add: entity_cache_spec.rb

pull/20253/head
HolgerHuo 9 months ago committed by Holger Huo
parent 07e6df0d40
commit 6eeb9215b6
No known key found for this signature in database
GPG Key ID: BBD8E4260396640D

@ -18,4 +18,12 @@ RSpec.describe EntityCache do
end
end
end
describe '#to_emoji' do
context 'when input shortcode has cases' do
it 'returns emoji with cases preserved' do
expect(described_class.instance.to_emoji(:emoji, 'FooBar', 'example.org')).to eq 'emoji:FooBar:example.org'
end
end
end
end

Loading…
Cancel
Save