mirror of
https://github.com/redmine/redmine.git
synced 2026-01-21 15:03:22 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user