Commits

Toshi MARUYAMA committed 9ac82b2

code layout clean up test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version of unit issue test

  • Participants
  • Parent commits bc6ca4a

Comments (0)

Files changed (1)

File test/unit/issue_test.rb

   end
 
   def test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version
-    issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1, :status_id => 1, :fixed_version_id => 1, :subject => 'New issue')
+    issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 1,
+                      :status_id => 1, :fixed_version_id => 1,
+                      :subject => 'New issue')
     assert !issue.save
     assert_not_nil issue.errors[:fixed_version_id]
   end