summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-11 14:13:11 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-11 14:13:11 +0000
commitd1606fd3e35d3ee471c0a72ce969d8dcdd4b84af (patch)
treea91b0d130141dad150922cbf7b77ec12db2a45d9 /test
parent097d9661c92cda6abeb524ee83e216de658bccc3 (diff)
downloadredmine-d1606fd3e35d3ee471c0a72ce969d8dcdd4b84af.tar.gz
redmine-d1606fd3e35d3ee471c0a72ce969d8dcdd4b84af.zip
add asserting that issue estimated hours is nil when creating minimal issue
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10363 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/issue_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb
index 59f38dbd8..05224701d 100644
--- a/test/unit/issue_test.rb
+++ b/test/unit/issue_test.rb
@@ -51,6 +51,7 @@ class IssueTest < ActiveSupport::TestCase
:subject => 'test_create')
assert issue.save
assert issue.description.nil?
+ assert_nil issue.estimated_hours
end
def test_create_with_required_custom_field