summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/layout_test.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/layout_test.rb b/test/integration/layout_test.rb
index 557ce4663..7f94b0d57 100644
--- a/test/integration/layout_test.rb
+++ b/test/integration/layout_test.rb
@@ -95,6 +95,16 @@ class LayoutTest < ActionController::IntegrationTest
get '/issues'
assert_include "/javascripts/i18n/jquery.ui.datepicker-zh-TW.js", response.body
end
+
+ with_settings :default_language => 'pt' do
+ get '/issues'
+ assert_include "/javascripts/i18n/jquery.ui.datepicker-pt.js", response.body
+ end
+
+ with_settings :default_language => 'pt-BR' do
+ get '/issues'
+ assert_include "/javascripts/i18n/jquery.ui.datepicker-pt-BR.js", response.body
+ end
end
def test_search_field_outside_project_should_link_to_global_search