diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2013-05-02 18:14:26 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2013-05-02 18:14:26 +0000 |
commit | e6ab36d205262a3fc02d4042b13bc9516d12bdbb (patch) | |
tree | 50ad6638c844c671bc8de1d94cf96ec34dc4b81e /test/unit | |
parent | e771d68214e7a83b7a4986e91faf5db15a04374a (diff) | |
download | redmine-e6ab36d205262a3fc02d4042b13bc9516d12bdbb.tar.gz redmine-e6ab36d205262a3fc02d4042b13bc9516d12bdbb.zip |
Remove duplicate test Redmine::I18nTest#test_time_format (keeping the most complete).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11767 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/lib/redmine/i18n_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/unit/lib/redmine/i18n_test.rb b/test/unit/lib/redmine/i18n_test.rb index 3602e62ad..a2b802af8 100644 --- a/test/unit/lib/redmine/i18n_test.rb +++ b/test/unit/lib/redmine/i18n_test.rb @@ -131,15 +131,6 @@ class Redmine::I18nTest < ActiveSupport::TestCase end end - def test_time_format - set_language_if_valid 'en' - now = Time.now - Setting.date_format = '%d %m %Y' - Setting.time_format = '%H %M' - assert_equal now.strftime('%d %m %Y %H %M'), format_time(now) - assert_equal now.strftime('%H %M'), format_time(now, false) - end - def test_utc_time_format set_language_if_valid 'en' now = Time.now |