diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-05 19:33:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-05 19:33:25 +0000 |
commit | 69c296505159fb6fa073d897b517645fd79dfe8a (patch) | |
tree | 1caa836a015deea8e70e6f63aca5ecd7b3775739 /test | |
parent | e8971e5f831cfaee8fe18508c1fd154af99a96e0 (diff) | |
download | redmine-69c296505159fb6fa073d897b517645fd79dfe8a.tar.gz redmine-69c296505159fb6fa073d897b517645fd79dfe8a.zip |
Fixed: Title with non-ascii characters breaks wiki
git-svn-id: http://redmine.rubyforge.org/svn/trunk@805 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/wiki_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/wiki_test.rb b/test/unit/wiki_test.rb index a89be2e71..23d4f442c 100644 --- a/test/unit/wiki_test.rb +++ b/test/unit/wiki_test.rb @@ -36,4 +36,9 @@ class WikiTest < Test::Unit::TestCase @wiki.reload assert_equal "Another start page", @wiki.start_page end + + def test_titleize + assert_equal 'Page_title_with_CAPITALES', Wiki.titleize('page title with CAPITALES') + assert_equal 'テスト', Wiki.titleize('テスト') + end end |