diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2017-09-28 21:48:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-28 21:48:28 -0400 |
commit | c027a7bd4d7b5af21f4b201d656f7251fa3606a1 (patch) | |
tree | ce2c2327b26358c26cb899ea918988af373ca6d6 /spec/helpers | |
parent | 210e6776fce016666ecfd248b2208c487f3440f9 (diff) | |
parent | 53f829dfa8bc376041a442dc84c22aa1cbfcb9d0 (diff) |
Merge pull request #157 from glitch-soc/merging-upstream
ABRACA-HRRRRRRRRRRRNGGGGGGGHHH!!!!!!!!!!!!!!!!!!!
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/emoji_helper_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/helpers/emoji_helper_spec.rb b/spec/helpers/emoji_helper_spec.rb deleted file mode 100644 index 6edf7672f..000000000 --- a/spec/helpers/emoji_helper_spec.rb +++ /dev/null @@ -1,20 +0,0 @@ -require 'rails_helper' - -RSpec.describe EmojiHelper, type: :helper do - describe '#emojify' do - it 'converts shortcodes to unicode' do - text = ':book: Book' - expect(emojify(text)).to eq '📖 Book' - end - - it 'converts composite emoji shortcodes to unicode' do - text = ':couple_ww:' - expect(emojify(text)).to eq '👩❤👩' - end - - it 'does not convert shortcodes that are part of a string into unicode' do - text = ':see_no_evil::hear_no_evil::speak_no_evil:' - expect(emojify(text)).to eq text - end - end -end |