Set the size of emoji to be 20x20

Forgot they were so big!
This commit is contained in:
Robert Speicher 2012-09-05 16:14:54 -04:00
parent 67a6a0b29b
commit b3bbf53e9b
2 changed files with 7 additions and 1 deletions

View file

@ -234,6 +234,12 @@ describe GitlabMarkdownHelper do
gfm(":+1:").should match('class="emoji"')
end
it "sets height and width" do
actual = gfm(":+1:")
actual.should match(/width="20"/)
actual.should match(/height="20"/)
end
it "keeps whitespace intact" do
gfm("This deserves a :+1: big time.").should match(/deserves a <img.+\/> big time/)
end