Remove test for disabled functionality

Username linking was disabled in
0f498d3ee3, leaving the test suite in a
failing state. This test can be restored when the functionality is
re-introduced.
This commit is contained in:
Derek Prior 2016-03-05 17:21:05 -05:00
parent 6eec2e26af
commit aedc24651f
No known key found for this signature in database
GPG key ID: 60D9C7F1019704B4

View file

@ -6,16 +6,6 @@ describe Markdowner do
"<p>hello there <em>italics</em> and <strong>bold</strong>!</p>"
end
it "turns @username into a link if @username exists" do
User.make!(:username => "blahblah")
Markdowner.to_html("hi @blahblah test").should ==
"<p>hi <a href=\"/u/blahblah\">@blahblah</a> test</p>"
Markdowner.to_html("hi @flimflam test").should ==
"<p>hi @flimflam test</p>"
end
# bug#209
it "keeps punctuation inside of auto-generated links when using brackets" do
Markdowner.to_html("hi <http://example.com/a.> test").should ==