Add transliteration test.

This commit is contained in:
bootstraponline
2012-07-10 11:40:36 -06:00
parent af89dc881e
commit 6c7417e0a2
+6
View File
@@ -96,6 +96,12 @@ context "Frontend Unicode support" do
assert_equal 'ghi', page.version.message
end
test 'transliteration' do
@wiki.write_page('ééééé', :markdown, '한글 text', { :name => '', :email => '' } )
page = @wiki.page('eeeee')
assert_equal '한글 text', utf8(page.raw_data)
end
def app
Precious::App
end