summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-12-24 12:14:46 +0200
committerValery Sizov <vsv2711@gmail.com>2015-12-24 12:14:46 +0200
commit09c5968fa3f94152b5f2767fded6adbd7ddc7032 (patch)
tree192020e73d5012a62bc2144bc01a507c12116e56
parentb6de0d28303a12c76847f1137e672aa60ae174ac (diff)
downloadgitlab-ce-emoji-picker-fix.tar.gz
-rw-r--r--spec/models/note_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/note_spec.rb b/spec/models/note_spec.rb
index 216c7dabae0..b7006fa5e68 100644
--- a/spec/models/note_spec.rb
+++ b/spec/models/note_spec.rb
@@ -164,8 +164,8 @@ describe Note, models: true do
let(:issue) { create :issue }
it "converts aliases to actual name" do
- note = create :note, note: ":thumbsup:", noteable: issue
- expect(note.reload.note).to eq("+1")
+ note = create :note, note: ":+1:", noteable: issue
+ expect(note.reload.note).to eq("thumbsup")
end
end
end