summaryrefslogtreecommitdiffstats
path: root/test/unit/wiki_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-10 18:32:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-01-10 18:32:04 +0000
commitf1a5dca2ba84c814da024ebd5b5564a6fbecdccb (patch)
tree569deeafd56d0f80d1a81e14ac82b737d9850560 /test/unit/wiki_test.rb
parent88727bf070ed11b73c75a2510143c15c685254a0 (diff)
downloadredmine-f1a5dca2ba84c814da024ebd5b5564a6fbecdccb.tar.gz
redmine-f1a5dca2ba84c814da024ebd5b5564a6fbecdccb.zip
Fixed: wiki pages with cyrillic characters not found with postgresql (#7245).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4680 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/wiki_test.rb')
-rw-r--r--test/unit/wiki_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/wiki_test.rb b/test/unit/wiki_test.rb
index bc5ad8a08..8fa937c53 100644
--- a/test/unit/wiki_test.rb
+++ b/test/unit/wiki_test.rb
@@ -46,6 +46,9 @@ class WikiTest < ActiveSupport::TestCase
assert_equal page, wiki.find_page('Another_page')
assert_equal page, wiki.find_page('Another page')
assert_equal page, wiki.find_page('ANOTHER page')
+
+ page = WikiPage.find(10)
+ assert_equal page, wiki.find_page('Этика_менеджмента')
end
def test_titleize