Merge branch 'rs-re-enable-user-reference-spec' into 'master'

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

See merge request !1194
This commit is contained in:
Douwe Maan
2015-08-25 16:44:14 +00:00
@@ -121,7 +121,6 @@ module Gitlab::Markdown
end
it 'links with adjacent text' do
skip "TODO (rspeicher): Re-enable when usernames can't end in periods."
doc = filter("Mention me (#{reference}.)")
expect(doc.to_html).to match(/\(<a.+>#{reference}<\/a>\.\)/)
end