diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-03-25 11:46:41 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-03-25 11:46:41 +0000 |
commit | 213e8faceeb63e19a7c7dd1bf01fa6092b7cdb96 (patch) | |
tree | ff224c4029189055d648524eada280d097d1ce6e | |
parent | 3f2982ede6792944c182630ef446be80f86322c0 (diff) | |
download | redmine-213e8faceeb63e19a7c7dd1bf01fa6092b7cdb96.tar.gz redmine-213e8faceeb63e19a7c7dd1bf01fa6092b7cdb96.zip |
add test of datepicker in Simplified Chinese and Traditional Chinese (#13579)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11685 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/integration/layout_test.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/layout_test.rb b/test/integration/layout_test.rb index 34a29354c..557ce4663 100644 --- a/test/integration/layout_test.rb +++ b/test/integration/layout_test.rb @@ -85,6 +85,16 @@ class LayoutTest < ActionController::IntegrationTest get '/issues' assert_not_include "/javascripts/i18n/jquery.ui.datepicker", response.body end + + with_settings :default_language => 'zh' do + get '/issues' + assert_include "/javascripts/i18n/jquery.ui.datepicker-zh-CN.js", response.body + end + + with_settings :default_language => 'zh-TW' do + get '/issues' + assert_include "/javascripts/i18n/jquery.ui.datepicker-zh-TW.js", response.body + end end def test_search_field_outside_project_should_link_to_global_search |