1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-22 00:11:14 +00:00

Markdown formatter not running on rake test.

git-svn-id: http://svn.redmine.org/redmine/trunk@14317 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-06-16 18:30:30 +00:00
parent 0a8e4b1628
commit c88ecf0e93

View File

@ -68,7 +68,7 @@ STR
def test_external_links_should_have_external_css_class def test_external_links_should_have_external_css_class
text = 'This is a [link](http://example.net/)' text = 'This is a [link](http://example.net/)'
assert_equal '<p>This is a <a class="external" href="http://example.net/">link</a></p>', @formatter.new(text).to_html.strip assert_equal '<p>This is a <a href="http://example.net/" class="external">link</a></p>', @formatter.new(text).to_html.strip
end end
def test_locals_links_should_not_have_external_css_class def test_locals_links_should_not_have_external_css_class