Add emoji_for_completion helper

This commit is contained in:
Riyad Preukschas 2012-10-09 14:47:42 +02:00
parent a54a90188b
commit bbd92e57cb
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,10 @@
require 'spec_helper'
describe NotesHelper do
describe "#emoji_for_completion" do
it "should be an Array of Strings" do
emoji_for_completion.should be_a(Array)
emoji_for_completion.each { |emoji| emoji.should be_a(String) }
end
end
end