diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-01-07 21:43:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-01-07 21:43:04 +0000 |
commit | e8bc1dbaa80dd714254da9c19e4ffaae4fbf9736 (patch) | |
tree | 385ba756667a7a4fe212b6efc744739533bf74d5 /test | |
parent | 2a54a539bbf878d00927148290f19b625089760f (diff) | |
download | redmine-e8bc1dbaa80dd714254da9c19e4ffaae4fbf9736.tar.gz redmine-e8bc1dbaa80dd714254da9c19e4ffaae4fbf9736.zip |
Merged r17144 to 3.4-stable (#27881).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17145 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/issue_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index ca038c877..8297335ca 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -128,7 +128,7 @@ class IssueTest < ActiveSupport::TestCase def test_estimated_hours_should_be_validated set_language_if_valid 'en' - ['-2'].each do |invalid| + ['-2', '123abc'].each do |invalid| issue = Issue.new(:estimated_hours => invalid) assert !issue.valid? assert_include 'Estimated time is invalid', issue.errors.full_messages |