Change in Rails' for handling localized number precision (#11118).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9782 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-06-09 07:46:07 +00:00
parent 2314e41474
commit 7fba8bc682
48 changed files with 49 additions and 48 deletions
+2 -1
View File
@@ -121,7 +121,8 @@ class Redmine::I18nTest < ActiveSupport::TestCase
valid_languages.each do |lang|
set_language_if_valid lang
assert_nothing_raised "#{lang} failure" do
number_to_human_size(1024*1024*4)
size = number_to_human_size(257024)
assert_match /251/, size
end
end
end