git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11685
e93f8b46-1217-0410-a6f0-
8f06a7374b81
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