Commit 09c5968f authored by Valery Sizov's avatar Valery Sizov

fix spec

parent b6de0d28
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment