summaryrefslogtreecommitdiffstats
path: root/test/unit/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-09 07:51:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-09 07:51:00 +0000
commit3661766edc1b0e8647e51450b429baa89cbaa5d6 (patch)
treed0b85fe8c70c35cb01531cfbb58c5fa78b1ce30a /test/unit/lib
parent71b43ea1c7c1ee9c854bb09bc059cd3a60ca1ddc (diff)
downloadredmine-3661766edc1b0e8647e51450b429baa89cbaa5d6.tar.gz
redmine-3661766edc1b0e8647e51450b429baa89cbaa5d6.zip
Upgrade to Rails 3.2.15.
git-svn-id: http://svn.redmine.org/redmine/trunk@12246 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib')
-rw-r--r--test/unit/lib/redmine/i18n_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/lib/redmine/i18n_test.rb b/test/unit/lib/redmine/i18n_test.rb
index a2b802af8..7b9294604 100644
--- a/test/unit/lib/redmine/i18n_test.rb
+++ b/test/unit/lib/redmine/i18n_test.rb
@@ -105,12 +105,12 @@ class Redmine::I18nTest < ActiveSupport::TestCase
now = Time.parse('2011-02-20 15:45:22')
with_settings :time_format => '' do
with_settings :date_format => '' do
- assert_equal '02/20/2011 03:45 pm', format_time(now)
- assert_equal '03:45 pm', format_time(now, false)
+ assert_equal '02/20/2011 03:45 PM', format_time(now)
+ assert_equal '03:45 PM', format_time(now, false)
end
with_settings :date_format => '%Y-%m-%d' do
- assert_equal '2011-02-20 03:45 pm', format_time(now)
- assert_equal '03:45 pm', format_time(now, false)
+ assert_equal '2011-02-20 03:45 PM', format_time(now)
+ assert_equal '03:45 PM', format_time(now, false)
end
end
end