Commit 646c1f03 authored by Robert Speicher's avatar Robert Speicher

Re-enable the "links with adjacent text" UserReferenceFilter spec

parent c52fe24c
...@@ -121,7 +121,6 @@ module Gitlab::Markdown ...@@ -121,7 +121,6 @@ module Gitlab::Markdown
end end
it 'links with adjacent text' do it 'links with adjacent text' do
skip "TODO (rspeicher): Re-enable when usernames can't end in periods."
doc = filter("Mention me (#{reference}.)") doc = filter("Mention me (#{reference}.)")
expect(doc.to_html).to match(/\(<a.+>#{reference}<\/a>\.\)/) expect(doc.to_html).to match(/\(<a.+>#{reference}<\/a>\.\)/)
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