diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-09 14:47:42 +0200 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-10-09 14:47:42 +0200 |
commit | bbd92e57cb5c764baf5fbdb9ccb1a1cd140eeca9 (patch) | |
tree | 53dd3987bd736483cb3f7fc02a713e7c4d038515 /spec/helpers/notes_helper_spec.rb | |
parent | a54a90188b03730c998b7e5a91c85611dfe5e311 (diff) | |
download | gitlab-ce-bbd92e57cb5c764baf5fbdb9ccb1a1cd140eeca9.tar.gz |
Add emoji_for_completion helper
Diffstat (limited to 'spec/helpers/notes_helper_spec.rb')
-rw-r--r-- | spec/helpers/notes_helper_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/helpers/notes_helper_spec.rb b/spec/helpers/notes_helper_spec.rb new file mode 100644 index 00000000000..73481694eea --- /dev/null +++ b/spec/helpers/notes_helper_spec.rb @@ -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 |