##// END OF EJS Templates
code layout clean up of test_create_minimal at test/unit/issue_test.rb...
Toshi MARUYAMA -
r7355:615540a12cc4
parent child
Show More
@@ -36,7 +36,9 class IssueTest < ActiveSupport::TestCase
36 36 end
37 37
38 38 def test_create_minimal
39 issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 3, :status_id => 1, :priority => IssuePriority.all.first, :subject => 'test_create')
39 issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 3,
40 :status_id => 1, :priority => IssuePriority.all.first,
41 :subject => 'test_create')
40 42 assert issue.save
41 43 assert issue.description.nil?
42 44 end
General Comments 0
You need to be logged in to leave comments. Login now