From 8045ef9d3dd28e95efeed2c5a7063fa21b942815 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 25 Mar 2013 12:12:28 +0000 Subject: add missing Portuguese jQuery UI date picker (#13584) jquery.ui.datepicker-pt.js is from https://raw.github.com/jquery/jquery-ui/49f9b849b9c5023f13/ui/i18n/jquery.ui.datepicker-pt.js git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11686 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/integration/layout_test.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/integration') 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 -- cgit v1.2.3