Makes time syntax case insensitive (#10635).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9387 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-04-11 17:37:13 +00:00
parent 1511b1435a
commit de0689d4f4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -45,6 +45,7 @@ class TimeEntryTest < ActiveSupport::TestCase
"3 h 15 m" => 3.25,
"3 hours" => 3.0,
"12min" => 0.2,
"12 Min" => 0.2,
}
assertions.each do |k, v|