Sha256: 934aff6fe67b57395073faa5b6085713b4066bd220dfd17beb71cc86ec36fedf
Contents?: true
Size: 585 Bytes
Versions: 1
Compression:
Stored size: 585 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Emojimmy do describe :token_to_emoji do let(:stored_text) { 'Hello :grin::grin: you :smiling_imp: :frog:!' } let(:returned_text) { 'Hello 😁😁 you 😈 🐸!' } subject { Emojimmy.token_to_emoji(stored_text) } it { should eql returned_text } end describe :emoji_to_token do let(:received_text) { 'Hello 😁😁 you 😈 🐸!' } let(:stored_text) { 'Hello :grin::grin: you :smiling_imp: :frog:!' } subject { Emojimmy.emoji_to_token(received_text) } it { should eql stored_text } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
emojimmy-0.2 | spec/emojimmy_spec.rb |