Browse Source

Add test for #4354.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3142 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.9.0
Jean-Philippe Lang 14 years ago
parent
commit
3918374d5c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      test/unit/helpers/application_helper_test.rb

+ 4
- 0
test/unit/helpers/application_helper_test.rb View File

@@ -472,6 +472,10 @@ EXPECTED
assert_equal expected.gsub(%r{\s+}, ''), textilizable(raw).gsub(%r{\s+}, '')
end
def test_textile_should_not_mangle_brackets
assert_equal '<p>[msg1][msg2]</p>', textilizable('[msg1][msg2]')
end
def test_default_formatter
Setting.text_formatting = 'unknown'
text = 'a *link*: http://www.example.net/'

Loading…
Cancel
Save