Skip to content

Commit

Permalink
add: entity_cache_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
HolgerHuo committed May 27, 2024
1 parent 519a62a commit 113eaf9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/lib/entity_cache_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,11 @@
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')).not_to eq 'emoji:FooBar:example.org'
end
end
end
end

0 comments on commit 113eaf9

Please sign in to comment.