Skip to content

Commit

Permalink
chore: add test for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
wwrk22 committed Jan 9, 2024
1 parent 56156d4 commit 008127f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spec/lib/emoji_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,16 @@
expect(subject.emoji).to eq(Emoji::DICTIONARY[caption])
end
end

describe '.captions' do
it 'returns the set of allowed emoji captions' do
expect(described_class.captions).to eq(described_class::DICTIONARY.keys)
end
end

describe '.emojis' do
it 'returns the set of allowed emojis' do
expect(described_class.emojis).to eq(described_class::DICTIONARY.values)
end
end
end

0 comments on commit 008127f

Please sign in to comment.