Sha256: a1575bb9d8ea1711392575db4201bcc18676c56baaabeadd515217f4320b8451
Contents?: true
Size: 609 Bytes
Versions: 2
Compression:
Stored size: 609 Bytes
Contents
require 'spec_helper' describe Emojimmy do describe :text_to_emoji do let(:stored_comment) { 'Hello {U+1F601}{U+1F601} you {U+1F608} {U+1F438}!' } let(:returned_comment) { 'Hello 😁😁 you 😈 🐸!' } specify do expect(Emojimmy.text_to_emoji(stored_comment)).to eql returned_comment end end describe :emoji_to_text do let(:received_comment) { 'Hello 😁😁 you 😈 🐸!' } let(:stored_comment) { 'Hello {U+1F601}{U+1F601} you {U+1F608} {U+1F438}!' } specify do expect(Emojimmy.emoji_to_text(received_comment)).to eql stored_comment end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
emojimmy-0.1.1 | spec/emojimmy_spec.rb |
emojimmy-0.1 | spec/emojimmy_spec.rb |