Commit d9a9ace7 authored by tmaruyama's avatar tmaruyama
Browse files

code layout clean up of test_create_minimal at test/unit/issue_test.rb

git-svn-id: https://svn.redmine.org/redmine/trunk@7475 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 9d3aa954
......@@ -36,7 +36,9 @@ class IssueTest < ActiveSupport::TestCase
end
def test_create_minimal
issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 3, :status_id => 1, :priority => IssuePriority.all.first, :subject => 'test_create')
issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 3,
:status_id => 1, :priority => IssuePriority.all.first,
:subject => 'test_create')
assert issue.save
assert issue.description.nil?
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment