mirror of
https://github.com/redmine/redmine.git
synced 2026-01-22 07:23:07 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user