Skip to content
Snippets Groups Projects
Commit 09c5968f authored by Valery Sizov's avatar Valery Sizov
Browse files

fix spec

parent b6de0d28
No related branches found
No related tags found
1 merge request!2198Emoji picker: better alias handling
Pipeline #
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment