Fix HTML entities being parsed in GFM

Also fixes the spec so that it actually tests the thing it says it's
testing. Hooray!

Closes #1308
This commit is contained in:
Robert Speicher 2012-09-13 15:20:00 -04:00
parent 85def2d625
commit d993f66642
2 changed files with 17 additions and 6 deletions

View file

@ -31,6 +31,7 @@ describe GitlabMarkdownHelper do
end
it "should not touch HTML entities" do
@project.issues.stub(:where).with(id: '39').and_return([issue])
actual = expected = "We'll accept good pull requests."
gfm(actual).should == expected
end