summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit/issue_test.rb2
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